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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kio-connectors/kio-kafka-connector/src/main/kotlin/ru/chermenin/kio/connectors/KafkaWriter.kt | chermenin | 281,045,133 | false | null | /*
* Copyright 2020 <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... | 1 | Kotlin | 2 | 8 | e6acc2fb61dbb77314c33fc9b5e2d66f14578fe1 | 1,403 | kio | Apache License 2.0 |
app/src/main/java/com/chittchorefsm/features/viewAllOrder/interf/SizeListNewOrderOnClick.kt | DebashisINT | 533,183,419 | false | {"Kotlin": 11200956, "Java": 960181} | package com.chittchorefsm.features.viewAllOrder.interf
import com.chittchorefsm.app.domain.NewOrderProductEntity
import com.chittchorefsm.app.domain.NewOrderSizeEntity
interface SizeListNewOrderOnClick {
fun sizeListOnClick(size: NewOrderSizeEntity)
} | 0 | Kotlin | 0 | 0 | dfdfafd5c35ebf69c1606fcf84af819079e25fb9 | 257 | Chittchore | Apache License 2.0 |
src/test/kotlin/io/gradleparser/gradleparser/core/DependencyExtractorTest.kt | iantal | 301,851,957 | false | null | package io.gradleparser.gradleparser.core
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
internal class DependencyExtractorTest {
@Suppress("RECEIVER_NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS")
fun readFile(fileName: String): String {
return this::class.java.c... | 0 | Kotlin | 0 | 0 | e95e8b638246a025068a1db8876c3af426e30987 | 2,972 | gradle-parser | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/main/ShortcutDetails.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package electron.main
typealias ShortcutDetails = electron.core.ShortcutDetails
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 135 | kotlin-wrappers | Apache License 2.0 |
server/src/test/kotlin/io/titandata/orchestrator/CommitOrchestratorTest.kt | titan-data | 208,084,283 | false | null | /*
* Copyright The Titan Project Contributors.
*/
package io.titandata.orchestrator
import io.kotlintest.Spec
import io.kotlintest.TestCase
import io.kotlintest.TestCaseOrder
import io.kotlintest.TestResult
import io.kotlintest.matchers.maps.shouldContainKey
import io.kotlintest.shouldBe
import io.kotlintest.should... | 4 | Kotlin | 3 | 4 | 2bc57b059325c14edb1130a9ae879912ad349d1d | 11,476 | titan-server | Apache License 2.0 |
shared/src/jvmMain/kotlin/ru/blays/ficbookReader/shared/preferences/Settings.kt | B1ays | 710,470,973 | false | {"Kotlin": 907460} | package ru.blays.ficbookReader.shared.preferences
import com.russhwolf.settings.ObservableSettings
import com.russhwolf.settings.PreferencesSettings
import java.util.prefs.Preferences
val preferences: Preferences = Preferences.userRoot()
actual val settings: ObservableSettings = PreferencesSettings(preferences) | 0 | Kotlin | 1 | 9 | 478a79286c952c7d1e001b4a0d9075e3fccd4f18 | 316 | ficbook-reader | MIT License |
wgpu4k/src/jvmMain/kotlin/io.ygdrasil.wgpu/mapper/ComputePipelineDescriptor.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1190676, "HTML": 1638, "Dockerfile": 1039, "Shell": 308} | package io.ygdrasil.wgpu.mapper
import io.ygdrasil.wgpu.ComputePipelineDescriptor
import io.ygdrasil.wgpu.GPUPipelineConstantValue
import io.ygdrasil.wgpu.internal.jvm.panama.WGPUComputePipelineDescriptor
import io.ygdrasil.wgpu.internal.jvm.panama.WGPUConstantEntry
import io.ygdrasil.wgpu.internal.jvm.panama.WGPUProg... | 7 | Kotlin | 6 | 41 | 822c304afaa72411ae42e86f20c7b5c62b5f9815 | 1,730 | wgpu4k | MIT License |
core/database/src/main/java/com/maimabank/database/MaimaBankDatabase.kt | malcolmmaima | 672,007,387 | false | {"Kotlin": 104961} | package com.maimabank.database
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.maimabank.database.convertors.MoneyAmountConvertor
import com.maimabank.database.entities.CardEntity
import com.maimabank.database.entities.TransactionEntity
import com.maimaban... | 0 | Kotlin | 1 | 0 | a168a9da59c91b0eb0b3df4415867575c116356f | 613 | maimabank-android | MIT License |
app/src/main/java/com/tinyfish/jeekalarm/edit/EditScreen.kt | tifish | 244,591,555 | false | null | package com.tinyfish.jeekalarm.edit
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.MaterialTheme
import androidx.compose.material... | 0 | Kotlin | 0 | 0 | c536971eb9fde89ab09f24e888b7d64ddbc2d324 | 8,094 | JeekAlarm | Apache License 2.0 |
enro-core/src/main/java/nav/enro/core/internal/handle/NavigationHandleActivityBinder.kt | gerfalcon | 308,289,734 | true | {"Kotlin": 210411, "Batchfile": 638} | package nav.enro.core.internal.handle
import android.app.Activity
import android.app.Application
import android.os.Bundle
import android.view.ViewGroup
import androidx.activity.viewModels
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.SavedStateViewModelFactory
import androidx.lifecycle.ViewMo... | 0 | null | 0 | 0 | d64c2b7a025d1f0a3f9118cb73d5eb5df0c1cd39 | 2,536 | Enro | Apache License 2.0 |
m31/src/main/java/ir/farsroidx/m31/additives/Resource.kt | farsroidx | 628,031,941 | false | null | @file:Suppress("unused")
package ir.farsroidx.m31.additives
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Color
import androidx.annotation.*
import androidx.core.content.res.ResourcesCompat
import org.xmlpull.v1.XmlPullParser
import java.io.BufferedReader
import java.io... | 0 | Kotlin | 0 | 0 | a1dfe768105ccd8900f618ac3ddc84d63f2d39e0 | 2,462 | andromeda | Apache License 2.0 |
feature-search/presentation/src/main/java/com/carohg/zeldafan/feature_search/presentation/MediaSearchGrid.kt | linahg | 649,784,953 | false | {"Kotlin": 153666, "HTML": 903} | package com.carohg.zeldafan.feature_search.presentation
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
import androidx.compose.runtime.Comp... | 0 | Kotlin | 0 | 0 | 5d128a91e8681c4a98bcfaec31e28c661f22aba9 | 895 | animanga | Apache License 2.0 |
sample/src/main/java/com/google/modernstorage/sample/ui/shared/IntroCard.kt | google | 365,054,118 | false | null | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 7 | Kotlin | 37 | 955 | 74ffdae8638bf36930dcda3ad650da8a8c868522 | 1,895 | modernstorage | Apache License 2.0 |
drivers/sqlite-driver/src/main/kotlin/com/squareup/sqldelight/sqlite/driver/JdbcSqliteDriver.kt | tokou | 265,714,500 | true | {"Gradle": 81, "Markdown": 22, "INI": 17, "Shell": 3, "Ignore List": 1, "Batchfile": 1, "YAML": 5, "Text": 2, "Ruby": 2, "Kotlin": 288, "XML": 22, "HTML": 2, "JavaScript": 4, "OpenStep Property List": 2, "Swift": 5, "JSON": 2, "Gradle Kotlin DSL": 1, "Java": 7, "CSS": 1} | package com.squareup.sqldelight.sqlite.driver
import java.sql.DriverManager
import java.util.Properties
import kotlin.DeprecationLevel.ERROR
class JdbcSqliteDriver constructor(
/**
* Database connection URL in the form of `jdbc:sqlite:path` where `path` is either blank
* (creating an in-memory database) or a ... | 0 | null | 0 | 0 | fed5c9c23ed927bfdfe2f0e8d06a783388df2384 | 806 | sqldelight | Apache License 2.0 |
filelogger/src/main/java/abbasi/android/filelogger/util/FileIntent.kt | aabolfazl | 466,665,945 | false | {"Java": 113388, "Kotlin": 26242} | package abbasi.android.filelogger.util
import abbasi.android.filelogger.FileLogger
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import androidx.core.content.FileProvider
import java.io.File
class FileIntent private constructor() {
companion object {
... | 0 | Java | 1 | 13 | 6b2a76a792a362e6c1314efea1492f50e2716452 | 1,390 | FileLogger | MIT License |
app/src/main/java/com/ice/ktuice/al/services/scrapers/base/ktuScraperService/util/JsFunctionParser.kt | Andrius-B | 118,811,243 | false | null | package com.ice.ktuice.al.services.scrapers.base.ktuScraperService.util
import com.ice.ktuice.al.services.scrapers.base.exceptions.ParsingException
/**
* Grade table is opened by an url that requires data from
* a js function called `infivert`
* for example: `infivert(624236,'2019P6140881','IicVnqt30l'+'0-t7fCRw1Y... | 1 | Kotlin | 1 | 5 | 7d9a9a03792c62de168211cc6107507f9c3d82f0 | 5,508 | KTU-ice | MIT License |
app/src/main/java/net/vapormusic/animexstream/utils/model/AnimeInfoModel.kt | androiddevnotesforks | 337,019,411 | false | null | package net.vapormusic.animexstream.utils.model
data class AnimeInfoModel(
var id: String,
var animeTitle: String,
var imageUrl: String,
var type: String,
var releasedTime: String,
var status: String,
var genre: ArrayList<GenreModel>,
var plotSummary: String,
var alias: String,
... | 0 | null | 6 | 9 | ea8a900769abaff526f934be65eafe871209ca66 | 379 | AnimeXStream | MIT License |
plugins/kotlinx-serialization/testData/boxIr/intrinsicsPolymorphicPriority.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JVM_IR
// WITH_STDLIB
// FILE: stub.kt
@file:JvmName("SerializersKt")
package kotlinx.serialization
import kotlin.reflect.KClass
import kotlinx.serialization.modules.*
// Copy of runtime function from kotlinx-serialization 1.7.0
fun moduleThenPolymorphic(module: SerializersModule, kClass: KClas... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,345 | kotlin | Apache License 2.0 |
sample/src/main/kotlin/me/alvince/sample/devicecompat/MainActivity.kt | alvince | 142,520,266 | false | {"Java": 37331} | package me.alvince.sample.devicecompat
import android.graphics.Color
import android.os.Build
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import kotlinx.andr... | 1 | null | 1 | 1 | 6608115854558f91a01e055310e805ea6d53bb8a | 3,058 | Android-Device-Compatible | MIT License |
kex-runner/src/test/kotlin/org/jetbrains/research/kex/BasicTest.kt | vorpal-research | 204,454,367 | false | null | package org.jetbrains.research.kex
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.InternalSerializationApi
import org.jetbrains.research.kex.config.RuntimeConfig
import kotlin.test.Test
@ExperimentalSerializationApi
@InternalSerializationApi
class BasicTest : KexRunnerTest() {
... | 6 | Kotlin | 11 | 7 | 3bd61388117e635f568a19bd6f871c30d2184bd3 | 696 | kex | Apache License 2.0 |
app/src/main/java/com/parassidhu/coronavirusapp/network/response/CountryWiseCase.kt | sidhuparas | 249,144,416 | false | null | package com.parassidhu.coronavirusapp.network.response
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
data class CountryWiseCase(
@SerializedName("countries_stat") val countryStats: List<CountryStat>
)
@Entity(tableName = "country_table")
data class ... | 2 | Kotlin | 43 | 170 | f5fdd5cad9bce3e33b0c93d20efdada0684b0200 | 1,102 | Coronavirus-Tracker | MIT License |
compiler/testData/psi/NestedComments.kt | JakeWharton | 99,388,807 | false | null | fun doo() {
/*/b
// */
b
/**/
b
/* */
b
/*/**/*/
b
/***/
b
/** /***/*/
b
/** /**
*/***/
b
}
| 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 93 | kotlin | Apache License 2.0 |
src/main/kotlin/org/strykeforce/thirdcoast/telemetry/item/PowerDistributionPanelItem.kt | rkalnins | 112,795,638 | false | {"Gradle": 4, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 3, "Markdown": 1, "JSON": 5, "Java Properties": 1, "Java": 13, "XML": 1, "HTML": 1, "CSS": 1, "Kotlin": 35} | package org.strykeforce.thirdcoast.telemetry.item
import edu.wpi.first.wpilibj.PowerDistributionPanel
import java.util.function.DoubleSupplier
internal const val PDP_CURRENT0 = "PDP_CURRENT_00"
internal const val PDP_CURRENT1 = "PDP_CURRENT_01"
internal const val PDP_CURRENT2 = "PDP_CURRENT_02"
internal const val PDP... | 1 | null | 1 | 1 | dc2699a933d00342a0498bbe5bb95a2bdfc3e10f | 4,196 | thirdcoast | MIT License |
challenge/flutter/all_samples/material_aboutlisttile_1/android/app/src/main/kotlin/com/example/material_aboutlisttile_1/MainActivity.kt | davidzou | 5,868,257 | false | null | package com.example.material_aboutlisttile_1
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 1 | null | 1 | 4 | 1060f6501c432510e164578d4af60a49cd5ed681 | 141 | WonderingWall | Apache License 2.0 |
goblin-rpc-server/src/main/java/org/goblinframework/remote/server/transport/RemoteTransportServerManagerMXBean.kt | xiaohaiz | 206,246,434 | false | {"Java": 807217, "Kotlin": 650572, "FreeMarker": 27779, "JavaScript": 968} | package org.goblinframework.remote.server.transport
import java.lang.management.PlatformManagedObject
interface RemoteTransportServerManagerMXBean : PlatformManagedObject {
fun getRemoteTransportServer(): RemoteTransportServerMXBean?
} | 0 | Java | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 241 | goblinframework | Apache License 2.0 |
samples/app/gallery/src/main/java/com/badoo/ribs/samples/gallery/rib/android/picker/mapper/ViewEventToOutput.kt | badoo | 170,855,556 | false | {"Kotlin": 934999} | package com.badoo.ribs.samples.gallery.rib.android.picker.mapper
import com.badoo.ribs.samples.gallery.rib.android.picker.AndroidPicker
import com.badoo.ribs.samples.gallery.rib.android.picker.AndroidPicker.Output.ActivitiesExampleSelected
import com.badoo.ribs.samples.gallery.rib.android.picker.AndroidPicker.Output.D... | 34 | Kotlin | 50 | 162 | cec2ca936ed17ddd7720b4b7f8fca4ce12033a89 | 898 | RIBs | Apache License 2.0 |
mbcarkit/src/test/java/com/daimler/mbcarkit/network/model/ApiCommandTest.kt | Daimler | 199,815,262 | false | null | package com.daimler.mbcarkit.network.model
import org.assertj.core.api.SoftAssertions
import org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ExtendWith(SoftAssertionsExtension::class)
class ApiCommandTest {
@Test
... | 1 | Kotlin | 8 | 15 | 3721af583408721b9cd5cf89dd7b99256e9d7dda | 1,060 | MBSDK-Mobile-Android | MIT License |
backend/spring-boot-kotlin/src/main/kotlin/org/bootstrapbugz/api/shared/error/exception/ResourceNotFoundException.kt | while1618 | 242,270,582 | false | null | package org.bootstrapbugz.api.shared.error.exception
import java.io.Serial
import org.springframework.http.HttpStatus
class ResourceNotFoundException(message: String?) : RuntimeException(message) {
val status: HttpStatus = HttpStatus.NOT_FOUND
companion object {
@Serial private val serialVersionUID = -614752... | 15 | null | 5 | 9 | 6939e8e7c3f55fd577411c4d6ebf1a535bb512f2 | 341 | BootstrapBugZ | MIT License |
app/src/main/java/me/ykrank/s1next/data/api/model/AutoSignResult.kt | ykrank | 52,680,091 | false | {"Kotlin": 850930, "Java": 727444, "HTML": 20430} | package me.ykrank.s1next.data.api.model
import android.text.TextUtils
import java.util.regex.Pattern
/**
* Created by ykrank on 2017/6/4.
*/
class AutoSignResult {
var success: Boolean = false
var msg: String? = null
var signed: Boolean = false
companion object {
fun fromHtml(html: String)... | 1 | Kotlin | 37 | 317 | 0c0b0fdb992db9b046265ee6e9b50ac676a1c104 | 1,459 | S1-Next | Apache License 2.0 |
mongo/src/main/java/org/enodeframework/mongo/handler/MongoAddPublishedVersionHandler.kt | anruence | 165,245,292 | false | null | package org.enodeframework.mongo.handler
import com.mongodb.MongoWriteException
import io.vertx.core.AsyncResult
import io.vertx.core.Handler
import org.enodeframework.common.exception.IORuntimeException
import org.enodeframework.common.exception.PublishedVersionStoreException
import org.enodeframework.mongo.MongoEven... | 1 | Java | 55 | 201 | 63a3ab2b795c2d033404f21d3c7ee50e28b25932 | 1,351 | enode | MIT License |
example-kotlin/src/main/java/com/gigya/android/sample/ui/fragment/ConflictingAccountsDialog.kt | isabella232 | 464,229,017 | false | null | package com.gigya.android.sample.ui.fragment
import androidx.lifecycle.ViewModelProviders
import android.os.Bundle
import androidx.fragment.app.DialogFragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.ArrayAdapter
i... | 1 | null | 1 | 1 | dc9ce54bc54a8ccdf0dd2cf6baea09c28b79879d | 3,606 | gigya-android-sdk | Apache License 2.0 |
shared/src/commonMain/kotlin/com/intive/picover/shared/profile/view/ProfileUpdateBottomSheet.kt | Android-Guild | 719,500,100 | false | {"Kotlin": 115160, "Swift": 760} | package com.intive.picover.shared.profile.view
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.co... | 9 | Kotlin | 0 | 0 | 9e78dacd17eb34455601e06bb37cee721f7c3aeb | 3,060 | Picover-KMP | Apache License 2.0 |
ref_code/leetcode-main/kotlin/2610-convert-an-array-into-a-2d-array-with-conditions.kt | yennanliu | 66,194,791 | false | {"Java": 5396849, "Python": 4422387, "JavaScript": 490755, "Kotlin": 464977, "C++": 351516, "C": 246034, "C#": 177156, "Rust": 152545, "Jupyter Notebook": 152285, "TypeScript": 139873, "Go": 129930, "Swift": 102644, "Ruby": 41941, "Scala": 34913, "Dart": 9957, "Shell": 4032, "Dockerfile": 2000, "PLpgSQL": 1348} | class Solution {
fun findMatrix(nums: IntArray): List<List<Int>> {
val count = HashMap<Int, Int>()
val res = mutableListOf<MutableList<Int>>()
for (n in nums) {
var row = count[n] ?: 0
if (res.size == row)
res.add(mutableListOf<Int>())
res... | 0 | Java | 42 | 98 | 209db7daa15718f54f32316831ae269326865f40 | 414 | CS_basics | The Unlicense |
wasi-emscripten-fs/src/commonMain/kotlin/op/lock/Advisorylock.kt | illarionov | 769,429,996 | false | {"Kotlin": 1838071} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 0 | Kotlin | 1 | 3 | 5f513e2413987ce681f12ea8e14a2aff2c56a7fd | 550 | wasm-sqlite-open-helper | Apache License 2.0 |
kotlin-typescript/src/jsMain/generated/typescript/Path.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
package typescript
typealias Path = Any /* string & {
__pathBrand: any;
} */
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 127 | kotlin-wrappers | Apache License 2.0 |
src/main/java/io/rudolph/netatmo/api/common/model/Module.kt | navybk | 141,977,813 | false | null | package io.rudolph.netatmo.api.common.model
import com.fasterxml.jackson.annotation.JsonAlias
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonSubTypes.Type
import com.fasterxml.jackson.annotation.JsonTypeInfo
import i... | 0 | Kotlin | 0 | 4 | 69487bc01bc6a3456156d86ca61d8112f254d6a0 | 2,447 | netatmo-java-api | MIT License |
app/src/main/java/eu/kanade/domain/items/chapter/interactor/GetChapter.kt | AniFOSS | 377,170,228 | true | {"Kotlin": 4060627} | package eu.kanade.domain.items.chapter.interactor
import eu.kanade.domain.items.chapter.model.Chapter
import eu.kanade.domain.items.chapter.repository.ChapterRepository
import eu.kanade.tachiyomi.util.system.logcat
import logcat.LogPriority
class GetChapter(
private val chapterRepository: ChapterRepository,
) {
... | 1 | Kotlin | 0 | 0 | 08787976b43da6e02207081e1ecccb7fcd89c307 | 804 | aniyomi | Apache License 2.0 |
api/src/main/java/com/trendster/api/models/DateFormat.kt | knishant362 | 382,001,617 | false | null | package com.trendster.api.models
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class DateFormat(
val date: Int,
val month: Int,
val year: Int
)
| 0 | Kotlin | 3 | 9 | ccd3af14d923bf74aedf7e05a5ff248009bc3744 | 188 | Alkatraz | MIT License |
src/app/component/home/HomeComponent.kt | xlj44400 | 196,942,714 | false | null | package app.component.home
import app.component.drawevent.drawEvent
import domain.Subscription
import domain.User
import react.*
import react.dom.div
interface HomeProps : RProps {
var user: User
var onEventSubscribe: (Subscription) -> Unit
var onEventUnsubscribe: (Subscription) -> Unit
}
class HomeCompo... | 0 | Kotlin | 0 | 0 | e0c5b234483ff1a41f9851607c4f9802e68ce2bb | 772 | ks-web | Apache License 2.0 |
shared/src/androidMain/kotlin/com/architect/kmpessentials/textToSpeech/KmpTextToSpeech.kt | TheArchitect123 | 801,452,364 | false | {"Kotlin": 335554, "Ruby": 2253, "Swift": 342} | package com.architect.kmpessentials.textToSpeech
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.speech.RecognitionListener
import android.speech.RecognizerIntent
import android.speech.SpeechRecognizer
import android.speech.tts.TextToSpeech
import androidx.annotation.Requi... | 0 | Kotlin | 0 | 96 | 3f1e7e14bf7e3da6b20c1d4bf2924ac4571a75b6 | 3,311 | KmpEssentials | MIT License |
app/src/main/java/com/example/minorproject/model/SliderModel.kt | jyotimanglani | 631,822,344 | false | null | package com.example.minorproject.model
data class SliderModel(var imageList : List<Int>, var textList : List<String>)
| 0 | Kotlin | 0 | 0 | 9e800fab6f645930c62b2b2bbc442872b59ce4f3 | 119 | Minorproject | MIT License |
app/src/main/java/com/example/minorproject/model/SliderModel.kt | jyotimanglani | 631,822,344 | false | null | package com.example.minorproject.model
data class SliderModel(var imageList : List<Int>, var textList : List<String>)
| 0 | Kotlin | 0 | 0 | 9e800fab6f645930c62b2b2bbc442872b59ce4f3 | 119 | Minorproject | MIT License |
app/src/main/java/pl/gunock/bluetoothbroadcasting/ui/client/ClientActivity.kt | Gunock | 365,191,390 | false | null | package pl.gunock.bluetoothbroadcasting.ui.client
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothManager
import android.content.Intent
import android.os.Bundle
import android.os.ParcelUuid
import android.util.Log
import android.widget.Toast
import androidx.activity.result.ActivityResult
im... | 0 | null | 0 | 1 | d100e9a067620f684f911ce4ae64de1db2dbf15c | 4,934 | Android-Bluetooth-Broadcasting | MIT License |
generators/app/templates/app/src/main/kotlin/io/github/plastix/kotlinboilerplate/ui/list/RepoViewModel.kt | vaginessa | 88,912,244 | false | null | package <%= appPackage %>.ui.list
import <%= appPackage %>.data.remote.model.Repo
import <%= appPackage %>.ui.base.AbstractViewModel
import io.reactivex.Observable
import io.reactivex.subjects.PublishSubject
class RepoViewModel(val repo: Repo) : AbstractViewModel() {
private val clicks = PublishSubject.create<Un... | 0 | Kotlin | 0 | 0 | 7bae0cf44a5dc3520e5830232efdbbc5a66524b9 | 514 | generator-kotlin-android-boilerplate | MIT License |
src/commonMain/kotlin/snd/komga/client/KomgaClientFactory.kt | Snd-R | 835,710,782 | false | {"Kotlin": 104105} | package snd.komga.client
import io.ktor.client.*
import io.ktor.client.plugins.*
import io.ktor.client.plugins.auth.*
import io.ktor.client.plugins.auth.providers.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.client.plugins.cookies.*
import io.ktor.http.*
import io.ktor.serialization.kotlinx.json... | 0 | Kotlin | 0 | 0 | d31668a61d8db7914cc520a6e74c5f440ec03cf9 | 5,038 | komga-client | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/CupStraw.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
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... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,983 | icons | MIT License |
subprojects/android-test/ui-testing-core-app/src/androidTest/kotlin/com/avito/android/ui/test/RecyclerWithSingleLongItemScreen.kt | avito-tech | 230,265,582 | false | null | package com.avito.android.ui.test
import androidx.test.espresso.matcher.ViewMatchers.withId
import com.avito.android.test.page_object.ListElement
import com.avito.android.test.page_object.SimpleScreen
import com.avito.android.ui.R
class RecyclerWithSingleLongItemScreen : SimpleScreen() {
override val rootId: Int... | 10 | null | 50 | 414 | 4dc43d73134301c36793e49289305768e68e645b | 392 | avito-android | MIT License |
subprojects/android-test/ui-testing-core-app/src/androidTest/kotlin/com/avito/android/ui/test/RecyclerWithSingleLongItemScreen.kt | avito-tech | 230,265,582 | false | null | package com.avito.android.ui.test
import androidx.test.espresso.matcher.ViewMatchers.withId
import com.avito.android.test.page_object.ListElement
import com.avito.android.test.page_object.SimpleScreen
import com.avito.android.ui.R
class RecyclerWithSingleLongItemScreen : SimpleScreen() {
override val rootId: Int... | 10 | null | 50 | 414 | 4dc43d73134301c36793e49289305768e68e645b | 392 | avito-android | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/model/hmppsauth/Jwt.kt | ministryofjustice | 515,276,548 | false | {"Kotlin": 8378502, "Shell": 15748, "Dockerfile": 1667, "Mustache": 383} | package uk.gov.justice.digital.hmpps.approvedpremisesapi.model.hmppsauth
import com.fasterxml.jackson.annotation.JsonProperty
data class Jwt(
val jti: String,
val sub: String,
val name: String?,
val authorities: List<String>,
@JsonProperty("auth_source")
val authSource: String,
@JsonProperty("user_id")
... | 22 | Kotlin | 1 | 5 | e49d852f72b4862f1f3d0813d438ff2d1e58c200 | 419 | hmpps-approved-premises-api | MIT License |
src/en/gogoanime/src/eu/kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt | uzumakhiadi | 442,205,284 | true | {"Kotlin": 349133, "Java": 3921, "Shell": 3029} | package eu.kanade.tachiyomi.animeextension.en.gogoanime
import android.app.Application
import android.content.SharedPreferences
import androidx.preference.ListPreference
import androidx.preference.PreferenceScreen
import eu.kanade.tachiyomi.animesource.ConfigurableAnimeSource
import eu.kanade.tachiyomi.animesource.mod... | 0 | Kotlin | 0 | 0 | b44151f94362597dc25501a4f7651a0a537d1f2c | 13,741 | aniyomi-extensions | Apache License 2.0 |
waypoints/src/main/kotlin/de/md5lukas/waypoints/config/general/WorldNotFoundAction.kt | Sytm | 211,378,928 | false | {"Gradle Kotlin DSL": 11, "Markdown": 16, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Kotlin": 179, "Java": 3, "YAML": 12, "TOML": 1, "INI": 1, "XML": 14} | package de.md5lukas.waypoints.config.general
enum class WorldNotFoundAction {
SHOW,
HIDE,
DELETE
}
| 1 | Kotlin | 7 | 28 | b31e54acb0cb8e93c9713492b1c1a0759f1045ed | 106 | waypoints | MIT License |
Quiz/app/src/main/java/com/camisnew/quiz/questions/Question1.kt | vsLazaro | 289,930,967 | true | {"Kotlin": 44400} | package com.camisnew.quiz.questions
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.camisnew.quiz.R
import com.camisnew.quiz.model.Quiz
import kotlinx.android.synthetic.main.activity_question1.*
class Question1 : AppCompatActivity() {
override fun ... | 0 | null | 0 | 0 | 3bb51475c1d717a2cc177085f7e40370e5223415 | 1,452 | android-exemple-projects | MIT License |
app/src/main/java/com/qw/soulphototaker/MainActivity.kt | soulqw | 183,730,022 | false | null | package com.qw.soulphototaker
import android.Manifest
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import com.qw.photo.CoCo
import com.qw.photo.CoCoConfigs
import com.qw.photo.Utils
import com.qw.photo.callback.CoCoAdapter
import com.qw.photo.constant.Range
import com.qw.photo.co... | 4 | null | 41 | 303 | 67103e69dd0d51819cd41a1b3e163a6030f12472 | 4,927 | CoCo | Apache License 2.0 |
src/test/kotlin/util/UtilTest.kt | hughjdavey | 159,955,618 | false | null | package util
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.collection.IsIterableContainingInOrder.contains
import org.hamcrest.core.Is.`is`
import org.junit.Test
/**
* Tests for the utilities package
*/
class UtilTest {
private val oneToFive = listOf(1, 2, 3, 4, 5)
@Test
fun testRea... | 0 | Kotlin | 0 | 0 | 4f163752c67333aa6c42cdc27abe07be094961a7 | 2,229 | aoc-2018 | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/gmail/hamedvakhide/instaclone/views/SignInActivity.kt | hamooo90 | 386,210,737 | false | null | package com.gmail.hamedvakhide.instaclone.views
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.util.Patterns
import android.view.View
import android.widget.Toast
import androidx.activity.viewModels
import com.gmail.ham... | 0 | Kotlin | 0 | 0 | 1e9c3bb3ec42cd63b7124029b729f7431402eaed | 3,239 | InstaClone_Kotlin_MVVM | Apache License 2.0 |
app/src/main/java/in/ac/svit/prakarsh/AboutFragment.kt | itsarjunsinh | 116,944,160 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 53, "Kotlin": 12, "Java": 1} | package `in`.ac.svit.prakarsh
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import com.android.volley.Req... | 1 | null | 1 | 1 | 72a2abb7ac3b0d3122ad54de1a975b2ca4150302 | 6,134 | PrakarshApp | The Unlicense |
vector/src/main/java/im/vector/app/eachchat/contact/addcontact/AddressEditLayout.kt | eachchat | 460,467,419 | true | {"Kotlin": 12319527, "Java": 696769, "HTML": 96269, "Shell": 31280, "Python": 19717, "FreeMarker": 7826, "JavaScript": 1782, "Ruby": 1574, "Gherkin": 163} | package im.vector.app.eachchat.contact.addcontact
import android.content.Context
import android.text.Editable
import android.text.TextWatcher
import android.util.AttributeSet
import android.widget.FrameLayout
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.view.isVisible
import im.vector.... | 4 | Kotlin | 0 | 0 | 9e975f4bc11da17705254923f54eba306021cc5f | 5,975 | yiqia-android | Apache License 2.0 |
app/src/main/java/com/concordium/wallet/data/model/IdentityProviderInfo.kt | Concordium | 358,250,608 | false | null | package com.concordium.wallet.data.model
import java.io.Serializable
data class IdentityProviderInfo(
val ipIdentity: Int,
val ipDescription: IdentityProviderDescription,
val ipVerifyKey: String,
val ipCdiVerifyKey: String
) : Serializable | 6 | Kotlin | 3 | 9 | 3e478e26e85ff36d148b7ac40b705971d2665775 | 257 | concordium-reference-wallet-android | Apache License 2.0 |
core/src/main/kotlin/me/frmr/github/repopolicy/core/operators/branch/BranchProtectionOperator.kt | farmdawgnation | 326,105,153 | false | null | package me.frmr.github.repopolicy.core.operators.branch
import me.frmr.github.repopolicy.core.model.PolicyEnforcementResult
import me.frmr.github.repopolicy.core.model.PolicyRuleOperator
import me.frmr.github.repopolicy.core.model.PolicyValidationResult
import org.kohsuke.github.GHRepository
import org.kohsuke.github.... | 6 | null | 3 | 2 | 48b0ddae9a879a215cc8ce50a6089c775396b3fa | 9,054 | repo-policy | Apache License 2.0 |
stream/src/commonMain/kotlin/work/socialhub/kmisskey/stream/MisskeyStream.kt | uakihir0 | 756,689,268 | false | {"Kotlin": 248708, "Shell": 2141, "Makefile": 316} | package misskey4j.stream
import misskey4j.Misskey
import misskey4j.stream.callback.EventCallback
import misskey4j.stream.callback.NoteCallback
import misskey4j.stream.callback.TimelineCallback
class MisskeyStream(
misskey: Misskey
) {
val url: String
val client: StreamClient
init {
val host =... | 1 | Kotlin | 1 | 6 | f59e9296d3e1976cd92fe853b5811f63a38b8d41 | 3,186 | kmisskey | MIT License |
sso/src/main/java/ir/net_box/sso/core/NetboxClient.kt | NetBox-Platform | 727,620,911 | false | {"Kotlin": 15558} | package ir.net_box.sso.core
import android.content.Context
import android.widget.Toast
import ir.net_box.sso.core.authintication.Authentication
object NetboxClient : Client {
override fun startLauncherSignIn(context: Context, onSsoButtonClicked: () -> Unit) {
if (Authentication.isLauncherInstalledOnDevi... | 0 | Kotlin | 0 | 2 | dbc56c1266f6de6e5c5818079e33fef058916a23 | 659 | sso | MIT License |
app/src/main/java/com/example/tipcalculator/MainActivity.kt | Mark0de | 463,102,808 | false | null | package com.example.tipcalculator
import android.animation.ArgbEvaluator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.EditText
import android.widget.SeekBar
import android.widget.TextV... | 0 | Kotlin | 0 | 0 | c72c28b0ccdb11b7f92d07b4f5845a7a7172dcf6 | 3,712 | Tip-Calculator-App | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/StarAndCrescent.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,139 | icons | MIT License |
mypreview/src/main/java/com/melody/mypreview/Engine.kt | Urilca | 429,524,856 | true | {"Kotlin": 29965, "GLSL": 1527} | package com.melody.mypreview
import android.view.View
interface Engine {
fun drawTexture(transformMatrix: FloatArray)
fun deinit()
fun initConfig(textureId: Int,view: View)
} | 0 | null | 0 | 0 | 4f2ee23ca864e43aaaa9baf3056ffff3c0da65ee | 188 | MagicCamera | Apache License 2.0 |
wavesplatform/src/main/java/com/wavesplatform/sdk/model/response/node/HeightResponse.kt | wavesplatform | 176,732,507 | false | null | /*
* Created by Eduard Zaydel on 1/4/2019
* Copyright © 2019 Waves Platform. All rights reserved.
*/
package com.wavesplatform.sdk.model.response.node
import com.google.gson.annotations.SerializedName
data class HeightResponse(@SerializedName("height") var height: Int = 0) | 3 | Kotlin | 8 | 16 | 07df259e47dfba2b99ad06f012a97062e7036356 | 279 | WavesSDK-android | MIT License |
src/main/kotlin/no/nav/sokos/spk/mottak/domain/FilTilstandType.kt | navikt | 758,019,980 | false | {"Kotlin": 68551, "Shell": 936, "Dockerfile": 111} | package no.nav.sokos.spk.mottak.domain
enum class FilTilstandType {
AVV, // Avvist
GOD, // Godkjent
INN, // Innlest
RET, // Returnert
KTR, // Knyttet til retur
} | 0 | Kotlin | 0 | 0 | 6201a3ec4d25aa6aac433eec3b64566238bef787 | 182 | sokos-spk-mottak | MIT License |
features/recipe/src/main/java/id/sansets/infood/recipe/presenter/favorite/FavoriteFragment.kt | sansets | 294,803,938 | false | null | package id.zeynelerdi.infood.recipe.presenter.favorite
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.widget.SearchView
import androidx.core.content.ContextCompat
... | 0 | Kotlin | 12 | 98 | 7ce8bafa0ea25d7ac6da58abb183c383a2eebae9 | 6,881 | android-clean-architecture | Apache License 2.0 |
app/src/main/java/br/com/powerapps/powerconnect/interfaces/BodyBuilder.kt | marcusedu | 90,882,865 | false | null | package br.com.powerapps.powerconnect.interfaces
import br.com.powerapps.powerconnect.model.Body
interface BodyBuilder {
fun createBody(): Body
} | 1 | Kotlin | 1 | 1 | 08115861ca41e1cf016dee24b5c32503055cbfbb | 152 | PowerConnect | Apache License 2.0 |
consumerapp/src/main/java/com/dnar/consumerapp/di/CustomScope.kt | dimas-nur | 267,992,206 | false | null | package com.dnar.consumerapp.di
import javax.inject.Scope
// Custom Scope; Keyword : Dagger2
@Scope
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
annotation class HomeScope
@Scope
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
annotation class ProfileScope | 0 | Kotlin | 19 | 58 | 48bc4fb7209d5b116a0794fd26828699bfbaab14 | 282 | dicoding-belajar-fundamental-aplikasi-android | Apache License 2.0 |
src/main/kotlin/nl/kute/asstring/property/ranking/impl/PropertyRankingByCommonNames.kt | JanHendrikVanHeusden | 454,323,023 | false | {"Kotlin": 733032, "Java": 31861} | package nl.kute.asstring.property.ranking.impl
import nl.kute.asstring.annotation.modify.AsStringOmit
import nl.kute.asstring.annotation.option.AsStringClassOption
import nl.kute.asstring.annotation.option.ToStringPreference.USE_ASSTRING
import nl.kute.asstring.core.asString
import nl.kute.asstring.core.isBaseType
imp... | 0 | Kotlin | 0 | 1 | 6d83ba7e801cdd4dc27e321c9048ead4c365766c | 4,951 | Kute | MIT License |
compiler/tests-spec/testData/codegen/box/templates/identifiers/object.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... | <!DIRECTIVES("HELPERS: REFLECT")!>
open class A {
val x1 = true
}
final object <!ELEMENT(2)!> {
val x1 = false
}
object <!ELEMENT(1)!> : A() {
val x2 = false
}
fun box(): String? {
if (<!ELEMENT(2)!>.x1) return null
if (!<!ELEMENT(1)!>.x1 || <!ELEMENT(1)!>.x2) return null
if (!checkClassNam... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 495 | kotlin | Apache License 2.0 |
client/src/commonMain/kotlin/ru/capjack/csi/core/client/internal/AuthorizationConnectionProcessor.kt | CaptainJack | 180,571,283 | false | null | package ru.capjack.csi.core.client.internal
import ru.capjack.csi.core.Channel
import ru.capjack.csi.core.ProtocolBrokenException
import ru.capjack.csi.core.client.ChannelGate
import ru.capjack.csi.core.client.ConnectionAcceptor
import ru.capjack.csi.core.internal.InternalConnectionProcessor
import ru.capjack.csi.core... | 0 | Kotlin | 0 | 0 | 9586764d37dfb64a1357751249efafda78f1f725 | 1,630 | csi-core | MIT License |
commons/src/main/kotlin/com/eagle/commons/interfaces/SecurityTab.kt | JustinBeeper | 215,044,353 | false | {"Kotlin": 1034587, "Java": 316302} | package com.eagle.commons.interfaces
import com.eagle.commons.views.MyScrollView
interface SecurityTab {
fun initTab(requiredHash: String, listener: HashListener, scrollView: MyScrollView)
fun visibilityChanged(isVisible: Boolean)
}
| 0 | Kotlin | 3 | 0 | 4a5f17aab6d41e8b16c2a6959828c3fef069a7c6 | 244 | BestGallery | Apache License 2.0 |
commons/src/main/kotlin/com/eagle/commons/interfaces/SecurityTab.kt | JustinBeeper | 215,044,353 | false | {"Kotlin": 1034587, "Java": 316302} | package com.eagle.commons.interfaces
import com.eagle.commons.views.MyScrollView
interface SecurityTab {
fun initTab(requiredHash: String, listener: HashListener, scrollView: MyScrollView)
fun visibilityChanged(isVisible: Boolean)
}
| 0 | Kotlin | 3 | 0 | 4a5f17aab6d41e8b16c2a6959828c3fef069a7c6 | 244 | BestGallery | Apache License 2.0 |
archive/587/solve.kt | daniellionel01 | 435,306,139 | false | null | /*
=== #587 Concave triangle - Project Euler ===
A square is drawn around a circle as shown in the diagram below on the left.
We shall call the blue shaded region the L-section.
A line is drawn from the bottom left of the square to the top right as shown in the diagram on the right.
We shall call the orange shaded reg... | 0 | Kotlin | 0 | 1 | 1ad6a549a0a420ac04906cfa86d99d8c612056f6 | 1,232 | euler | MIT License |
sample/src/main/java/com/hosshan/android/sample/MainActivity.kt | TORU0239 | 74,256,659 | true | {"Java": 15213, "Kotlin": 3661} | package com.hosshan.android.sample
import android.animation.ObjectAnimator
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import android.view.View
import android.view.animation.AlphaAnimation
import android.widget.Button
import android.widget.EditText
import android.wi... | 0 | Java | 0 | 1 | 0acd55d82eacad1f42908f9bd855eccf27c5c759 | 3,012 | RxAnimation | MIT License |
app/src/main/java/id/vee/android/domain/model/Forecast.kt | C22-PS001-Capstone | 491,130,427 | false | {"Kotlin": 285493} | package id.vee.android.domain.model
data class Forecast(
val forecast: List<Double>
) | 0 | Kotlin | 1 | 0 | ec27184eee0966b27eb5bb8a642b940a92cd5e84 | 90 | Vee-Mobile | MIT License |
app/src/main/java/bzh/zelyon/listdetail/api/API.kt | zelyon | 169,545,180 | false | null | package bzh.zelyon.listdetail.api
import bzh.zelyon.listdetail.BuildConfig
import bzh.zelyon.listdetail.model.Character
import bzh.zelyon.listdetail.model.House
import bzh.zelyon.listdetail.model.Region
import bzh.zelyon.listdetail.view.callback.CallBack
import com.google.gson.GsonBuilder
import io.reactivex.Single
im... | 0 | Kotlin | 0 | 0 | c770df9d8584605694d34ca9dc929f6520ce2523 | 2,797 | ListDetail | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/buildCacheSimple/src/main/kotlin/StandAloneClass.kt | JetBrains | 3,432,266 | false | null | // This class is used so that the set of compiled source files in an incremental compilation is a proper subset of the set of compiled
// source files in a non-incremental compilation, so that the two cases are not ambiguous when we check the set of compiled source files.
class StandAloneClass | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 294 | kotlin | Apache License 2.0 |
android/src/main/java/com/identifyocr/model/enums/UploadImageType.kt | Identify24 | 747,048,015 | false | {"Kotlin": 73326, "Swift": 48282, "Ruby": 3709, "Objective-C": 2376, "TypeScript": 2271, "JavaScript": 2122, "Objective-C++": 1208, "C": 103} | package com.identifyocr.model.enums
enum class UploadImageType(val type : String) {
SELFIE("selfie"),
ID_FRONT("idFront"),
ID_BACK("idBack"),
PASSPORT("idFront"),
SIGNATURE("signature"),
ADDRESS("address"),
BLINKING("blinking"),
SMILING("smiling"),
HEAD_TO_RIGHT("headToRight"),
... | 0 | Kotlin | 0 | 0 | 83e2e7b4973d404203cc11026113488b95211fd4 | 380 | react-native-identify-ocr | MIT License |
src/main/kotlin/api/AuthenticationClient.kt | mehdizebhi | 769,983,829 | false | {"Kotlin": 13306} | package api
import exception.AuthorizationPendingException
import exception.InvalidDeviceCodeException
import exception.InvalidRefreshToken
import exception.UnauthorizedException
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.engine.cio.*
import io.ktor.client.plugins.contentnegotiation.*
i... | 0 | Kotlin | 0 | 0 | ea1bc30f0e8516d9f7505ac737a33a7ea398ed72 | 4,384 | 2each | MIT License |
src/main/kotlin/com/bridgecrew/ui/buttons/SuppressionLinkButton.kt | bridgecrewio | 644,310,885 | false | null | package com.bridgecrew.ui.buttons
import com.bridgecrew.results.BaseCheckovResult
import com.bridgecrew.ui.actions.SuppressAction
import com.intellij.openapi.project.Project
const val suppressionButtonText = "Suppress"
class SuppressionLinkButton(private val project: Project, private var result: BaseCheckovResult) :... | 11 | Kotlin | 0 | 1 | 856eae0d8d05ee6168653df00b6ec429eb64fb9f | 448 | prisma-cloud-jetbrains-ide | Apache License 2.0 |
sdwebui/src/main/kotlin/dev/ibrahims/sdwebui/response/ControlNetModelsResponse.kt | ibrahimsn98 | 739,791,201 | false | {"Kotlin": 84076} | package dev.ibrahims.sdwebui.response
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ControlNetModelsResponse(
@SerialName("model_list") val models: List<String>,
)
| 0 | Kotlin | 0 | 12 | 6303eabce42a464aef661ce5b9e2a551635a326c | 231 | sdwebui-kotlin | MIT License |
synchronous-example/order-service/src/main/kotlin/br/ufpe/cin/recl/orderservice/domain/service/OrderService.kt | ricardoebbers | 308,149,123 | false | null | package br.ufpe.cin.recl.orderservice.domain.service
import br.ufpe.cin.recl.orderservice.rest.command.OrderCommand
import br.ufpe.cin.recl.orderservice.domain.entity.OrderEntity
interface OrderService {
fun createOrder(orderCommand: OrderCommand): OrderEntity
}
| 5 | Kotlin | 1 | 0 | a59123dcc198312ce18842ff5847bcd3b0c1aa39 | 269 | saga-orchestrator-microservice | MIT License |
chess-service/src/test/kotlin/com/michibaum/chess_service/domain/PlayerProvider.kt | MichiBaum | 246,055,538 | false | {"Kotlin": 152355, "TypeScript": 36802, "HTML": 11408, "CSS": 3150, "Java": 1289, "JavaScript": 969, "SCSS": 393} | package com.michibaum.chess_service.domain
import com.michibaum.chess_service.apis.dtos.PieceColor
import java.util.*
class PlayerProvider {
companion object {
fun player(game: Game): Player {
return Player(
id = UUID.randomUUID(),
platformId = "plattformId",
... | 0 | Kotlin | 0 | 1 | 77911b5f9d53f6630e34e3cd89b69ba277ad2b87 | 500 | Microservices | Apache License 2.0 |
app/src/main/java/mil/nga/msi/di/GeopackageModule.kt | ngageoint | 588,211,646 | false | {"Kotlin": 1755228} | package mil.nga.msi.di
import android.app.Application
import android.graphics.Paint
import androidx.core.content.ContextCompat
import com.google.android.gms.maps.model.TileProvider
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import mil.nga.g... | 0 | Kotlin | 0 | 0 | a7288e3f64f5d070e332eb787af9818ede0122fc | 2,858 | marlin-android | MIT License |
app/src/main/java/xyz/teamgravity/onlinevideoplayer/injection/ApplicationModule.kt | raheemadamboev | 491,407,304 | false | {"Kotlin": 25232} | package xyz.teamgravity.onlinevideoplayer.injection
import androidx.paging.Pager
import androidx.paging.PagingConfig
import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonCompon... | 0 | Kotlin | 0 | 6 | dce404fe205f4d6b1e2f980ae619c38a630ced2c | 2,297 | online-video-player | Apache License 2.0 |
core/usecases/src/main/kotlin/prose/ProseRepository.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.prose
import com.soyle.stories.domain.prose.MentionedEntityId
import com.soyle.stories.domain.prose.Prose
import com.soyle.stories.domain.prose.events.ProseEvent
interface ProseRepository {
suspend fun getProseById(proseId: Prose.Id): Prose?
suspend fun getProseOrError(proseI... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 791 | soyle-stories | Apache License 2.0 |
gears/src/main/java/com/mitteloupe/loader/gears/GearsLoader.kt | EranBoudjnah | 739,791,962 | false | {"Kotlin": 130319} | package com.mitteloupe.loader.gears
import android.graphics.RectF
import androidx.annotation.FloatRange
import androidx.compose.animation.core.AnimationConstants.DefaultDurationMillis
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.animate
import androidx.compose.animation.co... | 4 | Kotlin | 1 | 8 | d98f2f3fca9ad1e003c761e8e6e3f7c986e76e55 | 8,794 | Loaders | MIT License |
core/src/main/kotlin/run/qontract/core/value/NullValue.kt | masaldaan | 294,952,483 | true | {"Kotlin": 895402, "Gherkin": 2586} | package run.qontract.core.value
import run.qontract.core.ExampleDeclarations
import run.qontract.core.pattern.NullPattern
import run.qontract.core.pattern.Pattern
object NullValue : Value, ScalarValue {
override val httpContentType: String = "text/pain"
override fun displayableValue(): String = "null"
ov... | 0 | Kotlin | 0 | 0 | f3614c22af37821525eb00ebf9ccd03f3daba2f2 | 1,226 | qontract | MIT License |
app/src/main/java/com/potatomeme/android_ui_test/main/Route.kt | PotatoMeme | 848,553,898 | false | {"Kotlin": 249418} | package com.potatomeme.android_ui_test.main
import androidx.activity.ComponentActivity
import androidx.annotation.DrawableRes
import com.potatomeme.android_ui_test.R
sealed class Route(
val route: String,
val contentDescription: String,
) {
data object MainRoute : Route(
"MainScreen",
"메인 ... | 5 | Kotlin | 0 | 0 | 23e1f05f24a97b57d3fe5a4b5852231be8d86bd4 | 998 | Android-UI-Test | Apache License 2.0 |
app/src/main/kotlin/no/nav/k9punsj/fordel/HendelseMottaker.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.fordel
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.Tag
import no.nav.k9punsj.akjonspunkter.AksjonspunktKode
import no.nav.k9punsj.akjonspunkter.AksjonspunktService
import no.nav.k9punsj.akjonspunkter.AksjonspunktStatus
import no.nav.k9punsj.db.datamode... | 4 | Kotlin | 2 | 1 | 007ab740b7a01a7fda78cb9512b2ae4980b8f9f6 | 3,556 | k9-punsj | MIT License |
src/main/kotlin/net/dinkla/raytracer/samplers/Constant.kt | jdinkla | 38,753,756 | false | null | package net.dinkla.raytracer.samplers
import net.dinkla.raytracer.math.Point2D
class Constant(val x: Double = 0.5, val y: Double = 0.5) : IGenerator {
override fun generateSamples(numSamples: Int, numSets: Int): MutableList<Point2D> =
generate2D(numSamples, numSets) { _, _ -> Point2D(x, y) }
}
| 0 | Kotlin | 0 | 3 | a765bcf12251e6f1d9b85c3b7e9bbc730902a2e7 | 315 | from-the-ground-up-ray-tracer | Apache License 2.0 |
src/main/com/iyanuadelekan/kanary/app/handler/RequestHandler.kt | derskeal | 158,754,568 | true | {"Kotlin": 63797} | package com.iyanuadelekan.kanary.app.handler
import com.iyanuadelekan.kanary.app.constant.Protocol
import com.iyanuadelekan.kanary.app.framework.annotation.RequestHandler
import org.eclipse.jetty.server.Request
import org.eclipse.jetty.server.handler.AbstractHandler
import javax.servlet.http.HttpServletRequest
import ... | 0 | Kotlin | 0 | 0 | 45790c60dd898d3d245dc9e110b64c76329e9c7e | 1,232 | Kanary | Apache License 2.0 |
shared/src/commonMain/kotlin/main/forum/model/ComplaintData.kt | HaniFakhouri | 732,515,661 | false | {"Kotlin": 76383, "Swift": 592, "Shell": 228} | package main.forum.model
/**
* Created by hani.fakhouri on 2023-12-19.
*/
data class ComplaintData(
val type: CorrectionType,
val brand: String,
val reason: String,
) {
fun hasData() = brand.isNotEmpty() && reason.isNotEmpty()
}
enum class CorrectionType {
DELETE,
CORRECT,
;
fun to... | 0 | Kotlin | 0 | 0 | 41543c96abc988ced153d82ac9cbcd00b4f7666c | 546 | Boycotz | Apache License 2.0 |
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/profile/layout/ProfileFieldLayoutRule.kt | rafalzawadzki | 208,997,288 | true | {"Kotlin": 1297852, "Groovy": 4489} | package com.daimler.mbmobilesdk.profile.layout
import com.daimler.mbmobilesdk.profile.fields.ProfileField
import com.daimler.mbmobilesdk.profile.fields.ProfileViewable
import com.daimler.mbmobilesdk.profile.layout.ProfileFieldLayoutRule.Position
/**
* Collection of rules for the layout for profile fields.
* NOTE: T... | 0 | null | 0 | 0 | 1a924f70fbde5d731cdfde275e724e6343ee6ebe | 2,841 | MBSDK-Mobile-Android | MIT License |
ground/src/main/java/com/google/android/ground/persistence/sync/MediaUploadWorkManager.kt | google | 127,777,820 | false | {"Kotlin": 1170576, "Java": 9878, "Python": 3111} | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 175 | Kotlin | 118 | 217 | b07d1f5b6d60ac99cdaa5dda00658e0b038b4b9e | 2,024 | ground-android | Apache License 2.0 |
common/src/main/kotlin/mcauth/common/accessors/SessionAccessor.kt | Masterzach32 | 400,015,881 | true | {"Kotlin": 28571, "Java": 10983} | package mcauth.common.accessors
import net.minecraft.client.User
interface SessionAccessor {
fun setSession(session: User)
}
| 0 | Kotlin | 1 | 0 | 2b2544f668620f74c98fb48fcd55fcb268345063 | 132 | authme | MIT License |
app/src/main/java/com/synrgy/wefly/common/Utils.kt | WeFly-Team | 738,106,597 | false | {"Kotlin": 106789, "Ruby": 1042} | package com.synrgy.wefly.common
import android.R
import android.app.DatePickerDialog
import android.content.Context
import android.util.Log
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Spinner
import android.widget.TextView
import androidx.lifecycl... | 0 | Kotlin | 1 | 0 | 1324b86a07e2b7bd79189d20d2daefcf971eddfd | 2,422 | Android | Apache License 2.0 |
app/src/main/java/chat/rocket/android/server/domain/RefreshSettingsInteractor.kt | asandaair | 142,589,195 | true | {"Kotlin": 862728, "Shell": 2737} | package chat.rocket.android.server.domain
import chat.rocket.android.server.infraestructure.RocketChatClientFactory
import chat.rocket.android.util.retryIO
import chat.rocket.core.internal.rest.settings
import kotlinx.coroutines.experimental.CommonPool
import kotlinx.coroutines.experimental.async
import kotlinx.corout... | 0 | Kotlin | 0 | 0 | 6b8d006fb7deaa126031341a2da1983542d9eeb0 | 2,182 | Rocket.Chat.Android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.