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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/com/bear/stvzhg/lspImageFetcher/provider/LspImageProvider.kt | stvzhg | 289,406,494 | false | null | package com.bear.stvzhg.lspImageFetcher.provider
data class LspImageInput(
val isR18: Boolean = false,
val pageSize: Int = 1,
val isFast: Boolean = false,
val keyword: String = "")
data class LspImage (
val pid: Long = 0L,
val uid: Long = 0L,
val auther: String = "",
val title: String ... | 2 | Kotlin | 0 | 5 | dc31cd23648e0b513cf33019343d2d0a71af34c9 | 1,059 | Mirai-Console-LspImageFetcher | Apache License 2.0 |
core/src/main/java/cn/vove7/auto/core/api/nav_api.kt | Krosxx | 271,532,653 | false | {"Kotlin": 125832, "Java": 46179} | package cn.vove7.auto.core.api
import android.os.Build
import androidx.annotation.RequiresApi
import cn.vove7.auto.core.AppScope
import cn.vove7.auto.core.AutoApi
import cn.vove7.auto.core.utils.whileWaitTime
import kotlin.math.min
/**
* # nav_api
*
* Created on 2020/6/10
* @author Vove
*/
fun back(): Boolean =... | 5 | Kotlin | 62 | 372 | 9faa64e6bf5eec2b7011978209ad2dd83e797af9 | 1,194 | Android-Auto-Api | Apache License 2.0 |
skellig-test-step-processing/src/main/kotlin/org/skellig/teststep/processing/value/function/ToJsonFunctionExecutor.kt | skellig-framework | 263,021,995 | false | {"Kotlin": 922353, "CSS": 525991, "Java": 270216, "FreeMarker": 63629, "HTML": 11313, "ANTLR": 6165} | package org.skellig.teststep.processing.value.function
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import org.skellig.teststep.processing.value.exception.FunctionExecutionException
class ToJso... | 6 | Kotlin | 0 | 2 | 61e801c7d72ca26bcda8c9c69d60c87a906c2f47 | 1,139 | skellig-core | Apache License 2.0 |
korau-flac/src/commonTest/kotlin/io/nayuki/flac/FlacDecoderTest.kt | korlibs | 596,629,584 | false | null | package io.nayuki.flac
import korlibs.audio.format.*
import korlibs.audio.format.flac.*
import korlibs.audio.sound.*
import korlibs.io.async.*
import korlibs.io.file.*
import korlibs.io.file.std.*
import korlibs.io.stream.*
import korlibs.time.*
import kotlin.test.*
class FlacDecoderTest {
@Test
fun testInfo(... | 0 | Kotlin | 0 | 0 | 874a064e20a6481ffb875149ae48f291f609e0a7 | 2,539 | korge-audio-formats | MIT License |
app/src/main/java/no/kasperi/matoppskrifter/ui/registrer/RegistrerActivity.kt | Keezpaa | 554,308,183 | false | null | package no.kasperi.matoppskrifter.ui.registrer
import android.content.Intent
import android.widget.Toast
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import kotlinx.android.synthetic.main.activity_registrer.*
import no.kasperi.matoppskrifter.ui.komIGang.KomIGangActivity
import no.kasp... | 0 | Kotlin | 0 | 0 | 2a03ce26c8680827f3d052b1b0dca59319fba606 | 1,503 | MatOppskrifter | MIT License |
app/src/main/java/com/charlesmuchene/deployer/DeployerApplication.kt | charlesmuchene | 124,488,401 | false | null | /* Copyright (C) 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 0 | Kotlin | 0 | 0 | a7f6eb53efd50b7335d37ddf33e45bd06d4d524c | 867 | deployer | Apache License 2.0 |
shared/common/src/commonMain/kotlin/com/lukmadev/core/data/geocoding/network/dto/CityDTO.kt | lukma | 702,989,427 | false | {"Kotlin": 133997} | package com.lukmadev.core.data.geocoding.network.dto
import com.lukmadev.core.domain.geocoding.City
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
internal data class CityDTO(
@SerialName("name")
val name: String,
@SerialName("lat")
val latitude: Double... | 0 | Kotlin | 0 | 0 | 39f98c410e0fdf18de76e90403814dfe29403ee0 | 634 | kmm-weather | Apache License 2.0 |
smash-ranks-android/app/src/baseTest/java/com/garpr/android/test/TestThreadUtilsImpl.kt | charlesmadere | 41,832,700 | true | null | package com.garpr.android.test
import com.garpr.android.misc.ThreadUtils
import java.util.concurrent.Callable
import java.util.concurrent.ExecutorService
import java.util.concurrent.Future
import java.util.concurrent.FutureTask
import java.util.concurrent.TimeUnit
class TestThreadUtilsImpl : ThreadUtils {
overri... | 0 | Kotlin | 0 | 9 | 151b2a0f9b4d38be60c3f73344ca444f17810bfd | 2,286 | smash-ranks-android | The Unlicense |
app/src/main/kotlin/com/juniperphoton/myersplash/utils/ShortcutsManager.kt | JuniperPhoton | 67,424,471 | false | null | package com.juniperphoton.myersplash.utils
import android.content.Context
import android.content.Intent
import android.content.pm.ShortcutInfo
import android.content.pm.ShortcutManager
import android.graphics.drawable.Icon
import com.juniperphoton.myersplash.MainActivity
import com.juniperphoton.myersplash.R
import co... | 27 | Kotlin | 23 | 93 | d2e6da91c20b638445c60b089e9aa789c646d22b | 1,889 | MyerSplash.Android | MIT License |
components/ledger/ledger-utxo-token-cache/src/main/kotlin/net/corda/ledger/utxo/token/cache/entities/CachedToken.kt | corda | 346,070,752 | false | null | package net.corda.ledger.utxo.token.cache.entities
import net.corda.data.ledger.utxo.token.selection.data.Token
import java.math.BigDecimal
/**
* The [CachedToken] represents a token stored in the cache
*
* @property stateRef The unique reference for the token
* @property amount The amount of the token
* @proper... | 117 | null | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 736 | corda-runtime-os | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/transactions/TransactionsModule.kt | horizontalsystems | 142,825,178 | false | null | package com.starbase.bankwallet.modules.transactions
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.bankwallet.core.AdapterState
import com.starbase.bankwallet.core.App
import io.horizontalsystems.bankwallet.core.prov... | 128 | Kotlin | 141 | 260 | e6baef3c8530608ad7ed33a8b104382c7a54d55e | 11,174 | unstoppable-wallet-android | MIT License |
app/src/main/java/com/samdavid/photobank/models/Tiny.kt | Sammug | 594,834,080 | false | null | package com.samdavid.photobank.models
data class Tiny(
val height: Int,
val size: Int,
val url: String,
val width: Int
) | 0 | Kotlin | 0 | 0 | e45a0663ca6d055941ce9489d7c8a7677cc1b2ec | 137 | Photo-Bank---PIXABAY | MIT License |
character-detail/src/main/java/com/ezike/tobenna/starwarssearch/characterdetail/ui/CharacterDetailFragment.kt | Ezike | 294,171,829 | false | {"Kotlin": 190696, "Shell": 657} | package com.ezike.tobenna.starwarssearch.characterdetail.ui
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.navArgs
import com.ezike.tobenna.starwarssearch.character.detail.R
import com.ezike.tobenna.sta... | 0 | Kotlin | 30 | 198 | 0dadbc74a04bc6530cbee594716aae214fe24cc6 | 3,202 | StarWarsSearch-MVI | Apache License 2.0 |
core/presentation/src/main/java/org/cazait/presentation/ui/storestatus/StoreStatusFragment.kt | CaZaIt | 594,701,085 | false | null | package org.cazait.presentation.ui.storestatus
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import dagger.hilt.android.AndroidE... | 1 | Kotlin | 0 | 0 | 9bd141020be97ba70257f2847bc88d49ff084cf2 | 1,141 | CaZaIt-Android-Admin | Apache License 2.0 |
src/main/kotlin/me/camdenorrb/plugkat/cmds/ReloadPluginCmd.kt | camdenorrb | 100,557,920 | false | null | package me.camdenorrb.plugkat.cmds
import me.camdenorrb.kspigotbasics.struct.DARK_GREEN
import me.camdenorrb.kspigotbasics.struct.GREEN
import me.camdenorrb.kspigotbasics.struct.RED
import me.camdenorrb.kspigotbasics.struct.pluginManager
import me.camdenorrb.plugkat.ext.*
import org.bukkit.command.Command
import org.b... | 2 | Kotlin | 0 | 3 | bf68435fc558edb0b1f06a1cea6afa80831a12e8 | 1,224 | PlugKat | Apache License 2.0 |
src/main/kotlin/org/hiatusuk/obsidian/config/ConfigurationRegistry.kt | poblish | 612,371,934 | false | null | package org.hiatusuk.obsidian.config
import com.codahale.metrics.MetricRegistry
import org.hiatusuk.obsidian.di.ScenarioScope
import org.hiatusuk.obsidian.di.includes.ConfigsComponent
import org.hiatusuk.obsidian.run.delegates.ReflectionsState
import org.hiatusuk.obsidian.run.events.ScenarioStartup
import org.slf4j.Lo... | 0 | Kotlin | 0 | 0 | 67a62560c865de0fd751365b091bfb60b5f12f34 | 2,469 | obsidian | Apache License 2.0 |
libraries/api/src/main/kotlin/io/plastique/api/deviations/VideoDto.kt | plastiqueapp | 150,879,887 | false | null | package io.plastique.api.deviations
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class VideoDto(
@Json(name = "src")
val url: String,
@Json(name = "quality")
val quality: String,
@Json(name = "duration")
val duration: Int,
@J... | 0 | Kotlin | 2 | 9 | 9271853f3741add18822858cbad9d4f8e8104f54 | 367 | plastique | Apache License 2.0 |
recycler-view-divider/src/test/kotlin/com/fondesa/recyclerviewdivider/size/SizeProviderImplTest.kt | fondesa | 56,091,159 | false | null | /*
* Copyright (c) 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 i... | 15 | null | 44 | 508 | 1370fbccc153a15cda105d555e250eba7ba022df | 4,593 | recycler-view-divider | Apache License 2.0 |
src/main/kotlin/me/honkling/detainment/manager/annotations/Optional.kt | honkling | 758,727,426 | false | {"Kotlin": 64933, "Java": 2008} | package me.honkling.detainment.manager.annotations
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME)
annotation class Optional
| 0 | Kotlin | 0 | 0 | 0ad2e601e0a741d0f5fb92c1a8e99159c9d116fa | 160 | detainment | Apache License 2.0 |
app/src/main/java/bapspatil/captainchef/adapters/IngredientsRecyclerViewAdapter.kt | bapspatil | 105,727,452 | false | null | package bapspatil.captainchef.adapters
import android.content.Context
import android.support.v4.content.res.ResourcesCompat
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import bapspatil.captainchef... | 1 | Kotlin | 0 | 10 | 2ecdd8e3d13a9f434d1649d0cd55c91c1c2db78a | 2,106 | CaptainChef | Apache License 2.0 |
identity-starter/src/main/kotlin/com/labijie/application/identity/service/impl/DefaultUserService.kt | hongque-pro | 309,874,586 | false | null | package com.labijie.application.identity.service.impl
import com.labijie.application.component.IMessageService
import com.labijie.application.identity.configuration.IdentityProperties
import com.labijie.caching.ICacheManager
import com.labijie.infra.IIdGenerator
import org.springframework.security.crypto.password.Pass... | 0 | null | 0 | 8 | 9e2b1f76bbb239ae9029bd27cda2d17f96b13326 | 987 | application-framework | Apache License 2.0 |
src/commonMain/kotlin/com/github/shaart/pstorage/multiplatform/dto/UserSettingViewDto.kt | shaart | 643,580,361 | false | null | package com.github.shaart.pstorage.multiplatform.dto
import com.github.shaart.pstorage.multiplatform.enums.SettingType
import java.time.LocalDateTime
data class UserSettingViewDto(
val id: String? = null,
val name: String,
var value: String,
val createdAt: LocalDateTime? = null,
val updatedAt: Loc... | 9 | Kotlin | 0 | 0 | 649a16fa5f1dd75857402c5a538517005bd6ef81 | 659 | pstorage-multiplatform | Apache License 2.0 |
src/main/kotlin/com/example/springboot/kotlin/configurations/BasicAuthConfiguration.kt | evgeny-trushin | 146,812,478 | false | {"Kotlin": 9326} | package com.example.springboot.kotlin.configurations
import com.example.springboot.kotlin.components.BasicAuthEntryPointComponent
import com.example.springboot.kotlin.filters.CustomFilter
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Bean
import org.springf... | 0 | Kotlin | 0 | 0 | 0c3655f0d535b6bde0a715d40a6e250e74fb2f8c | 2,143 | Kotlin_Spring-Boot_Stream_Demo | MIT License |
app/src/main/java/com/thecode/infotify/core/di/MapperModule.kt | HaradaYasuo | 753,223,164 | false | {"Kotlin": 117352} | package com.thecode.infotify.core.di
import com.thecode.infotify.core.domain.News
import com.thecode.infotify.framework.datasource.network.mapper.EntityMapper
import com.thecode.infotify.framework.datasource.network.mapper.NewsMapper
import com.thecode.infotify.framework.datasource.network.model.NewsObjectResponse
imp... | 0 | Kotlin | 0 | 7 | 0ea52438c65b4f3f696bee92e3ad8da522dc3678 | 682 | Infotify-Kotlin | Apache License 2.0 |
devops-boot-sample/boot-schedule-worker-cloud-sample/src/main/kotlin/com/tencent/devops/schedule/sample/CloudWorkerApplication.kt | bkdevops-projects | 294,058,091 | false | {"Kotlin": 488037, "JavaScript": 47413, "Vue": 36468, "SCSS": 7290, "HTML": 620, "Java": 559} | package com.tencent.devops.schedule.sample
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class CloudWorkerApplication
fun main(args: Array<String>) {
runApplication<CloudWorkerApplication>(*args)
}
| 7 | Kotlin | 22 | 27 | cbff03abe5d572b09cbd486830d87cddc91b938b | 297 | devops-framework | MIT License |
src/main/kotlin/org/agoranomic/assessor/decisions/8560.kt | AgoraNomic | 98,589,628 | false | null | package org.agoranomic.assessor.decisions
import org.agoranomic.assessor.dsl.assessment
import org.agoranomic.assessor.dsl.receivers.ai
import org.agoranomic.assessor.dsl.receivers.coauthors
import org.agoranomic.assessor.dsl.receivers.quorum
import org.agoranomic.assessor.dsl.receivers.url
import org.agoranomic.asses... | 1 | null | 0 | 1 | 80b0b41176e7e12728910e8eaddc3a6e306f6bb7 | 2,093 | assessor | MIT License |
core/src/main/java/com/moviedb/core/view/BaseFragment.kt | anil-gudigar | 340,400,074 | false | null | package com.moviedb.core.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
/**
* Created by <NAME> on 21,February,2021
*/
abstract class BaseFragment : Fragment() {
companion object {
var TAG = "... | 0 | Kotlin | 0 | 2 | 011c144247841812f0a3f3e7f3b50a85bf40b536 | 1,277 | TheMovieDB | Apache License 2.0 |
gazelle/kotlin/tests/gazelle_exclude_directive/subproject/sub-ignored.kt | aspect-build | 376,383,688 | false | {"Go": 798179, "Starlark": 256988, "TypeScript": 33768, "Shell": 24189, "Kotlin": 3858, "JavaScript": 3085, "CSS": 55} | import 'does-not-exist2';
// ignored due to local BUILD
| 115 | Go | 20 | 91 | e6863d9d24b0254acdc828a916b92c0d43efa167 | 57 | aspect-cli | Apache License 2.0 |
hoon/HoonAlgorithm/src/main/kotlin/programmers/lv01/Lv1_12928_divisors.kt | boris920308 | 618,428,844 | false | {"Kotlin": 57019, "Swift": 40496, "Java": 2698, "Rich Text Format": 407} | package main.kotlin.programmers.lv01
import kotlin.math.ceil
import kotlin.math.sqrt
/**
*
* https://school.programmers.co.kr/learn/courses/30/lessons/12928
*/
private fun findDivisors(number: Int): List<Int> {
val divisors = mutableListOf<Int>()
if (number == 1) {
divisors.add(1)
}
val s... | 1 | Kotlin | 1 | 2 | 240deec1804aeeca33c83c05e957aeb1028c97c4 | 1,553 | HoOne | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsoneplanapi/plan/PlanController.kt | ministryofjustice | 746,586,556 | false | {"Kotlin": 106169, "Dockerfile": 1320} | package uk.gov.justice.digital.hmpps.hmppsoneplanapi.plan
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.tags.Tag
import k... | 1 | Kotlin | 0 | 0 | a86352c1759132bedaa40196f4a9f66c5bc390ed | 5,895 | hmpps-one-plan-api | MIT License |
src/main/kotlin/it/bot/model/command/AddDishesCommand.kt | gturi | 480,951,059 | false | {"Kotlin": 113492, "Shell": 1788, "HTML": 658} | package it.bot.model.command
class AddDishesCommand : BotCommand, KeyboardButton {
override val command: String = "/addDishes"
val addDishCommand = AddDishCommand()
override val pattern: String = "(${addDishCommand.pattern}(\n${addDishCommand.pattern})*)"
override val format: String = "{menuNumber... | 0 | Kotlin | 0 | 0 | af641c01ff1ca4e7dda9f04b4fae99c55e2ea8b7 | 691 | all-you-can-eat-bot | MIT License |
rsocket-core/src/commonTest/kotlin/io/rsocket/kotlin/internal/RSocketRequesterTest.kt | mareklangiewicz | 315,150,414 | true | {"Kotlin": 396754, "HTML": 796, "JavaScript": 203} | /*
* Copyright 2015-2020 the original author or 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 required by app... | 0 | null | 0 | 0 | 3e6ab7bb427eab2165d3ec861db7db8a5f619ae7 | 10,502 | rsocket-kotlin | Apache License 2.0 |
data/src/main/java/com/example/data/local/model/AndroidJobCache.kt | ifucolo | 175,968,064 | false | null | package com.example.data.local.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "jobs")
data class AndroidJobCache(
@PrimaryKey(autoGenerate = true)
var id: Int = 0,
var title: String = "",
var requiredExperienceYears: Int = 0,
var native: Boolean = true,
v... | 2 | null | 5 | 28 | e1e4a187616e1166a2d77a1c45e06d98aa758341 | 346 | android-modularization | The Unlicense |
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/EmbraceOrientationServiceTest.kt | embrace-io | 704,537,857 | false | {"Kotlin": 3102378, "C": 189946, "Java": 179815, "C++": 13140, "CMake": 4188} | package io.embrace.android.embracesdk
import io.embrace.android.embracesdk.capture.orientation.EmbraceOrientationService
import io.embrace.android.embracesdk.internal.clock.Clock
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
internal class EmbraceOrientationServiceTest {
late... | 15 | Kotlin | 7 | 130 | e3ab4c793ce7fceae98cf82ff68d1ee6cd33a2c1 | 1,461 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/org/who/ddccverifier/views/ResultFragment.kt | WorldHealthOrganization | 430,942,275 | false | {"Kotlin": 240670, "HTML": 6961, "CSS": 3544, "Procfile": 68} | package org.who.ddccverifier.views
import android.annotation.SuppressLint
import android.os.Bundle
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import androidx.fragment.app.Frag... | 0 | Kotlin | 3 | 9 | 0dc9d8b67da73ce6b93a62ee406f98ac7e2af9ce | 11,916 | ddcc-validator | Apache License 2.0 |
core/src/main/java/knaufdan/android/core/calendar/timepicker/TimePickerConfig.kt | DanielKnauf | 219,150,024 | false | null | package knaufdan.android.core.calendar.timepicker
import androidx.annotation.StyleRes
import knaufdan.android.core.calendar.alias.Hour
import knaufdan.android.core.calendar.alias.Minute
import knaufdan.android.core.calendar.getTimeOfDay
import knaufdan.android.core.resources.IResourceProvider
/**
* Used in [ITimePic... | 13 | Kotlin | 0 | 2 | a6bdc7efa3c6d48d6d84f55266c430f99913526e | 789 | ArchServices | Apache License 2.0 |
app/src/main/java/com/starkbank/cocoatouch/animation/NoneTransition.kt | starkbank | 542,751,615 | false | {"Kotlin": 45758} | package com.starkbank.cocoatouch.animation
import androidx.fragment.app.Fragment
import android.animation.Animator
import android.graphics.Point
open class NoneTransition : Transition {
override fun animator(fragment: Fragment, size: Point, enter: Boolean): Animator? {
return null
}
} | 0 | Kotlin | 0 | 0 | f857b1c8e97342024f12959cebd6b9182f903f29 | 304 | cocoatouch-for-android | MIT License |
main/kotlin/com/giyeok/sugarproto/mutkt/FieldExprGen.kt | Joonsoo | 626,806,375 | false | {"Kotlin": 343822, "TeX": 6829} | package com.giyeok.sugarproto.mutkt
import com.giyeok.sugarproto.SugarProtoAst
import com.giyeok.sugarproto.name.SemanticName
import com.giyeok.sugarproto.proto.AtomicType
import com.giyeok.sugarproto.proto.ValueType
class FieldExprGen(
val tsGen: TypeStringGen,
val protoOuterClassName: String,
) {
// atomic = ... | 0 | Kotlin | 0 | 0 | d95f8ee531a59c97a29d81361bec58576483d33e | 26,986 | sugarproto | MIT License |
typescript-kotlin/src/main/kotlin/typescript/isJSDocClassTag.fun.kt | turansky | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:JsModule("typescript")
@file:JsNonModule
package typescript
external fun isJSDocClassTag(node: Node): Boolean /* node is JSDocClassTag */
| 0 | Kotlin | 1 | 10 | bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0 | 191 | react-types-kotlin | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsoneplanapi/step/StepController.kt | ministryofjustice | 746,586,556 | false | {"Kotlin": 148978, "Dockerfile": 1320, "Shell": 293} | package uk.gov.justice.digital.hmpps.hmppsoneplanapi.step
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.tags.Tag
import j... | 1 | Kotlin | 0 | 0 | a86352c1759132bedaa40196f4a9f66c5bc390ed | 10,388 | hmpps-one-plan-api | MIT License |
src/SignUpOutcome.kt | waterlink | 64,513,075 | false | null | interface SignUpOutcome {
} | 0 | Kotlin | 0 | 0 | b4571b468f7c9122b5713a3fe0f7ba4359b68b71 | 28 | SignInExample | MIT License |
app/src/main/java/com/github/grubber/dailytopic/article/create/CreateArticleContract.kt | Grubber | 81,953,229 | false | null | package com.github.grubber.dailytopic.article.create
import com.github.grubber.dailytopic.base.BasePresenter
import com.github.grubber.dailytopic.base.BaseView
/**
* Created by grubber on 2017/1/30.
*/
interface CreateArticleContract {
interface View : BaseView<Presenter, Any> {
fun showLoadingDialog(lo... | 0 | Kotlin | 1 | 2 | 5212aa2b61634e4e6300a8a5c556b5b19e3433ce | 573 | dailytopic | Apache License 2.0 |
core/src/test/kotlin/utilities/JsonKtTest.kt | Kotlin | 21,763,603 | false | null | package utilities
import org.jetbrains.dokka.utilities.serializeAsCompactJson
import org.jetbrains.dokka.utilities.serializeAsPrettyJson
import kotlin.test.assertEquals
import kotlin.test.Test
class JsonTest {
@Test
fun `should serialize an object as compact json`() {
val testObject = SimpleTestDataC... | 403 | null | 383 | 2,981 | 14cd0f3e42e13927f9852d2cb74cc0098c1a429c | 1,650 | dokka | Apache License 2.0 |
core/src/main/java/com/bruno13palhano/core/network/model/StockItemNet.kt | bruno13palhano | 670,001,130 | false | {"Kotlin": 1380539} | package com.bruno13palhano.core.network.model
import com.bruno13palhano.core.model.Model
import com.squareup.moshi.Json
data class StockItemNet(
@Json(name = "id") override val id: Long,
@Json(name = "productId") val productId: Long,
@Json(name = "date") val date: Long,
@Json(name = "dateOfPayment") v... | 0 | Kotlin | 0 | 2 | 0e93bd2b118fbf1d21fab5fa54ac5ae33f52bc97 | 705 | shop-dani-management | MIT License |
scanner-view/src/main/java/com/prongbang/scanview/ScannerFinderView.kt | prongbang | 301,755,228 | false | null | package com.prongbang.scanview
import android.content.Context
import android.content.res.Configuration
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Point
import android.graphics.Rect
import android.util.AttributeSet
import android.util.TypedValue
im... | 0 | Kotlin | 0 | 0 | 231506f850bc3b1c4b8ad4739a5340f37b27bfcc | 2,757 | ScannerView | MIT License |
src/test/java/org/penella/structures/triples/QueryTripleTest.kt | alisle | 69,421,121 | false | null | package org.penella.structures.triples
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
/**
* 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
*
* ht... | 0 | Kotlin | 0 | 0 | 4e50fc54d9e6a3e2c6cf72f13b05094ad60c9e69 | 4,272 | Penella | Apache License 2.0 |
app/src/main/java/com/apps/test/data/ServicesData.kt | Diogo95 | 496,657,673 | false | {"Kotlin": 64449} | package com.apps.test.data
data class ServicesData(
val servicesData: List<ServiceData>
)
data class ServiceData(
val id: String,
val name: String,
val data: List<String>
)
| 0 | Kotlin | 0 | 0 | 8a839e33e106d1e8a5e242093b126d4579467021 | 192 | service-consent-cost | Apache License 2.0 |
shared/src/commonMain/kotlin/features/itemdetail/ItemDetailComponent.kt | sunildhiman90 | 672,833,519 | false | {"Kotlin": 310248, "Swift": 6652, "JavaScript": 4142, "HTML": 663, "Shell": 228, "Ruby": 101} | package features.itemdetail
import core.component.Component
interface ItemDetailComponent : Component {
fun onBackClicked()
sealed class Output {}
} | 0 | Kotlin | 0 | 1 | 59fb3a1cc1e84fb777d6806bf1368e7def123364 | 160 | YourFlixer-KMP | Apache License 2.0 |
kool-editor/src/commonMain/kotlin/de/fabmax/kool/editor/AppLoader.kt | fabmax | 81,503,047 | false | {"Kotlin": 5538657, "C++": 3256, "CMake": 1870, "HTML": 1464, "JavaScript": 597} | package de.fabmax.kool.editor
import de.fabmax.kool.editor.api.EditorAwareApp
import de.fabmax.kool.editor.ui.BehaviorEditor
import de.fabmax.kool.util.launchOnMainThread
import de.fabmax.kool.util.logE
import kotlin.reflect.KClass
interface AppLoadService {
val hasAppChanged: Boolean
suspend fun buildApp()
... | 11 | Kotlin | 15 | 267 | 0e5213b69b478152173b38334ca2c3a2d0aff62a | 2,583 | kool | Apache License 2.0 |
src/main/java/net/skyscanner/hive/gradletimelogger/process/ReportProcessing.kt | Skyscanner | 173,291,304 | false | null | /*
* Copyright 2019 Skyscanner Limited.
*
* 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... | 0 | Kotlin | 1 | 12 | 2c44c79030d861fdc8d3abafe0b0b4859a32ba51 | 1,133 | gradle-time-logger-plugin | Apache License 2.0 |
src/main/kotlin/be/kunlabora/crafters/kunlaquota/data/DataConfig.kt | kunlabora | 785,679,313 | false | {"Kotlin": 41557} | package be.kunlabora.crafters.kunlaquota.data
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.data.jdbc.core.JdbcAggregateTemplate
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
@Configuration
@Ena... | 0 | Kotlin | 0 | 0 | 8876cc4ebe66031303983c9a356364347acb0747 | 768 | kunlaquota-tim | MIT License |
app/src/main/java/com/github/f9c/android/ui/contacts/AddContactActivity.kt | f9c | 136,659,603 | false | {"Kotlin": 57315} | package com.github.f9c.android.ui.contacts
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.github.f9c.android.R
import android.content.*
import android.os.IBinder
import android.util.Log
import android.widget.*
import com.github.f9c.android.util.Base64
import com.github.f9c.android.... | 0 | Kotlin | 0 | 1 | ee86676f5bd9c0b11c25874d3ecb5ef06b59caa3 | 4,471 | android | Apache License 2.0 |
Estudos Kotlin/src/main/kotlin/estudos/funcionalidades/testaObjectExpression.kt | estherwl | 468,801,558 | false | {"Kotlin": 22413} | package estudos.alura.teste
import estudos.alura.modelo.Autenticavel
//“Object Expression” permite a crição de objetos anônimos, ao criar objetos sem
// estrutura de classe
fun testaObjectExpression() {
//aqui permite usar polimorfismo, fazendo com que esse “Cliente”
// seja autenticável e utilize o sistema interno.... | 0 | Kotlin | 0 | 0 | e1ef5929ead72240a13bf59dd5cbe6f935b2645e | 538 | Estudos-Kotlin | MIT License |
app/src/main/java/com/zeflux/template/base/ui/state/PagerTabState.kt | zeflux | 628,309,809 | false | null | @file:OptIn(ExperimentalPagerApi::class)
package com.zeflux.template.base.ui.state
import androidx.compose.runtime.*
import com.google.accompanist.pager.ExperimentalPagerApi
import com.google.accompanist.pager.PagerState
import com.google.accompanist.pager.rememberPagerState
import kotlinx.coroutines.CoroutineScope
i... | 0 | Kotlin | 0 | 0 | e82d8d39feaa267493c49a07f10b9a2ff8e7b415 | 1,015 | template-base | Apache License 2.0 |
src/test/kotlin/no/nav/helse/api/AdminApiTest.kt | navikt | 262,969,362 | false | null | package no.nav.helse.api
import com.fasterxml.jackson.core.util.ByteArrayBuilder
import io.ktor.http.*
import io.ktor.server.testing.*
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.mockk
import io.mockk.verify
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
impor... | 0 | Kotlin | 0 | 0 | cd1e390ec6629d818ceb01966d0b5333ae706a35 | 4,176 | helse-spre-gosys | MIT License |
core/common/src/main/java/com/ariefzuhri/gizee/core/common/util/NullHandling.kt | ariefzuhri | 388,739,293 | false | null | package com.ariefzuhri.gizee.core.common.util
fun Number?.orEmpty(): Number {
return this ?: 0
} | 4 | Kotlin | 4 | 3 | f6a7d8c329cd218e48e928498a64f424eb4b631c | 101 | Gizee | MIT License |
aTalk/src/main/java/net/java/sip/communicator/service/protocol/event/ChatRoomMemberPresenceListener.kt | cmeng-git | 704,328,019 | false | {"Kotlin": 14462775, "Java": 2824517, "C": 275021, "Shell": 49203, "Makefile": 28273, "C++": 13642, "HTML": 7793, "CSS": 3127, "JavaScript": 2758, "AIDL": 375} | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* 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 ... | 0 | Kotlin | 0 | 0 | 393d94a8b14913b718800238838801ce6cdf5a1f | 1,402 | atalk-hmos_kotlin | Apache License 2.0 |
submission-5/app/src/main/java/id/gits/kade/ibun/main/teams/TeamsPresenter.kt | iboen | 147,846,533 | false | null | package id.gits.kade.ibun.main.teams
import id.gits.kade.ibun.data.League
import id.gits.kade.ibun.data.Team
import id.gits.kade.ibun.data.source.SportsDataSource
import id.gits.kade.ibun.data.source.SportsRepository
class TeamsPresenter(
private val sportsRepository: SportsRepository,
private val vie... | 0 | Kotlin | 2 | 0 | 5ca678e896e2793d10036ad0be608fc8b7445c11 | 1,780 | kade | MIT License |
ktx/src/main/java/dev/eastar/ktx/KtxBindingAdapter.kt | eastar-dev | 234,499,402 | false | null | package dev.eastar.ktx
import android.text.SpannableString
import android.text.style.UnderlineSpan
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.NonNull
import androidx.core.view.isGone
import androidx.core.view.isVisible
import androidx.databinding... | 0 | Kotlin | 0 | 5 | f3d69a283f2414aa7ba7fecc25d800b60af07bed | 981 | EastarKtx | Apache License 2.0 |
video-sdk/src/test/java/com/kaleyra/video_sdk/BottomSheetStateExtensionsTest.kt | KaleyraVideo | 686,975,102 | false | {"Kotlin": 3410835, "Shell": 7470, "Python": 6756, "Java": 1213} | /*
* Copyright 2023 Kaleyra @ https://www.kaleyra.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 0 | 1 | 5869da6000fcd82b1450ef8f57edd952fe935a17 | 9,176 | VideoAndroidSDK | Apache License 2.0 |
src/main/java/catmoe/fallencrystal/moefilter/util/message/notification/Notifications.kt | CatMoe | 638,486,044 | false | null | package catmoe.fallencrystal.moefilter.util.message.notification
import catmoe.fallencrystal.moefilter.common.config.ObjectConfig
import catmoe.fallencrystal.moefilter.common.utils.counter.ConnectionCounter
import catmoe.fallencrystal.moefilter.common.utils.system.CPUMonitor
import catmoe.fallencrystal.moefilter.util.... | 2 | Kotlin | 0 | 2 | 4afea088e12dc89d93dbc54f9c3a30b9c0d6f3f7 | 3,341 | MoeFilter | Apache License 2.0 |
javatests/com/google/android/libraries/pcc/chronicle/storage/datacache/impl/DataCacheStoragePackageDeletionListenerTest.kt | google | 564,990,777 | false | {"Kotlin": 1440674, "Starlark": 164409, "Java": 10061, "AIDL": 5852, "Python": 4367, "Dockerfile": 2035, "Shell": 1301} | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 7 | 29 | 62efeab0288f39467061c2444549954d0b7137f8 | 3,113 | private-compute-libraries | Apache License 2.0 |
app/src/main/java/com/logic/uasg/util/Validator.kt | GovindaPaliwal | 206,713,929 | false | null | package com.logic.uasg.util
import java.util.regex.Pattern
class Validator {
companion object {
fun isEmailValid(email: String): Boolean {
var isValid = false
val expression = "[^ ]+@[^ ]+\\.[^ ]{2,63}"
val pattern = Pattern.compile(expression, Pattern.CASE_INSENSITIVE... | 0 | Kotlin | 0 | 1 | 8a34fdd78d82dcabf5c9b4835284dfc085ff8687 | 497 | Universal-Acceptance-UASG-In-Kotlin | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/TreeAlt.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,042 | icons | MIT License |
app/src/main/java/com/example/kotlinmvpespresso/ui/repositoriesList/RepositoriesListPresenter.kt | sallySalem | 96,570,597 | false | null | package com.example.kotlinmvpespresso.ui.repositoriesList
import android.os.Bundle
import com.example.kotlinmvpespresso.data.model.RepositoryModel
import com.example.kotlinmvpespresso.ui.base.BasePresenter
import com.example.kotlinmvpespresso.useCase.RepositoryUseCase
import com.example.kotlinmvpespresso.utils.Constan... | 0 | Kotlin | 3 | 7 | 3944b087e56263ed8d3119b7f6dfa111febe7796 | 2,579 | KotlinMvpEspresso | MIT License |
app/src/main/java/ui/fragment/HomeFragment.kt | chenjincjcj | 554,185,723 | false | null | package ui.fragment
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.bishe.DatiActivity
import com.example.bishe.R
import kotli... | 0 | Kotlin | 0 | 0 | 14376e658af3c0fe6f4a1b3691bba0451886341a | 954 | healthydiet | Apache License 2.0 |
desktop/src/jvmMain/kotlin/io/github/alphicc/desktop/somethingDetails/SomethingDetailsViewModel.kt | alphicc | 426,521,641 | false | {"Kotlin": 97968} | package io.github.alphicc.desktop.somethingDetails
import com.alphicc.brick.TreeRouter
import io.github.alphicc.desktop.Screens
class SomethingDetailsViewModel(private val router: TreeRouter) {
fun onNextBtnClicked() {
router.addComponent(Screens.childNavigationContentScreen, router)
}
} | 3 | Kotlin | 1 | 55 | a7769d7e0480847cd016a85b0030f393f7ac57ee | 307 | Brick | MIT License |
app/src/main/java/com/masterplus/mesnevi/core/domain/util/UiEvent.kt | Ramazan713 | 615,289,510 | false | {"Kotlin": 443947} | package com.masterplus.mesnevi.core.domain.util
sealed class UiEvent{
data class ShowMessage(val message: UiText): UiEvent()
}
| 0 | Kotlin | 0 | 0 | 7e29fcb261f1d4b3dc2d23d8ae27f7797da1a2c3 | 132 | Mesnevi | Apache License 2.0 |
oneone/src/main/java/com/gapps/oneone/screens/base/BaseViewPresenter.kt | TalbotGooday | 204,948,092 | false | null | package com.gapps.oneone.screens.base
interface BaseViewPresenter<T> {
var view: T
fun create(context: T)
fun destroy()
companion object {
const val DAYS_ERROR: Int = -1
const val SOMETHING_WRONG: String = "Something went wrong"
}
} | 0 | Kotlin | 0 | 0 | 9aa549666526e54d4460f9b6086f1b65732fe8fd | 272 | OneOne | Apache License 2.0 |
service/src/main/kotlin/io/provenance/explorer/web/v3/StakingController.kt | provenance-io | 332,035,574 | false | {"Kotlin": 1049811, "PLpgSQL": 316369, "Shell": 679, "Python": 642} | package io.provenance.explorer.web.v3
import com.google.protobuf.util.JsonFormat
import io.provenance.explorer.config.interceptor.JwtInterceptor.Companion.X_ADDRESS
import io.provenance.explorer.domain.extensions.toTxBody
import io.provenance.explorer.domain.extensions.toTxMessageBody
import io.provenance.explorer.mod... | 29 | Kotlin | 3 | 6 | 5f0bf5b0f65859c28adb58903457bbccaa3de6d6 | 6,156 | explorer-service | Apache License 2.0 |
feature/sponsor/src/test/java/io/github/droidkaigi/confsched2019/SponsorDummyDatas.kt | sekiya9311 | 168,845,969 | true | {"Kotlin": 533045, "Swift": 74272, "Shell": 16776, "Java": 16734, "Ruby": 5476, "Prolog": 1499, "Makefile": 232, "HTML": 206} | package io.github.droidkaigi.confsched2019
import com.soywiz.klock.DateTime
import com.soywiz.klock.hours
import io.github.droidkaigi.confsched2019.model.SponsorCategory
import io.github.droidkaigi.confsched2019.model.Sponsor
private val startTime =
DateTime.createAdjusted(2019, 2, 7, 10, 0).toOffsetUnadjusted(9.... | 0 | Kotlin | 0 | 0 | 8fa7fdae6930425d3fc0ed7a295d5400e6218358 | 1,185 | conference-app-2019 | Apache License 2.0 |
app/src/main/java/com/popalay/tracktor/feature/trackerdetail/TrackerDetailsAppBar.kt | Popalay | 274,828,773 | false | {"Kotlin": 197344, "Shell": 510} | package com.popalay.tracktor.feature.trackerdetail
import androidx.compose.foundation.Icon
import androidx.compose.foundation.Text
import androidx.compose.material.IconButton
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.runtime.Composable
... | 14 | Kotlin | 4 | 36 | be755179fcd2afe21bd06f32b8f387c6ee8bad8b | 1,271 | Tracktor-ComposeUI | MIT License |
app/src/main/java/com/example/pagkain_mvvm/retrofit/MealApi.kt | resurreccionerick | 751,892,238 | false | {"Kotlin": 47593} | package com.example.pagkain_mvvm.retrofit
import com.example.pagkain_mvvm.models.category.Category
import com.example.pagkain_mvvm.models.category.CategoryList
import com.example.pagkain_mvvm.models.category.categoryfood.CategoryFood
import com.example.pagkain_mvvm.models.popular.PopularList
import com.example.pagkain... | 0 | Kotlin | 0 | 0 | 46defc11bf43c5aa61533bfe39e987f7a0bb7eb7 | 985 | Pagkain-MVVM | MIT License |
kalexa-model/src/main/kotlin/com/hp/kalexa/model/request/list/AlexaListItem.kt | HPInc | 164,478,295 | false | null | /*
* Copyright 2018 HP Development Company, L.P.
* SPDX-License-Identifier: MIT
*/
package com.hp.kalexa.model.request.list
data class AlexaListItem(
val id: String = "",
val version: Long = 0,
val value: String = "",
val status: ListItemState? = null,
val createdTime: String = "",
val upda... | 0 | Kotlin | 1 | 17 | e6674eeb24c255aef1859a62a65b805effdc9676 | 370 | kalexa-sdk | MIT License |
ScrollingActivityDemo/app/src/main/java/com/jjh/android/drivers/ScrollingActivity.kt | johnehunt | 277,604,143 | false | null | package com.jjh.android.drivers
import android.os.Bundle
import com.google.android.material.appbar.CollapsingToolbarLayout
import com.google.android.material.floatingactionbutton.FloatingActionButton
import com.google.android.material.snackbar.Snackbar
import androidx.appcompat.app.AppCompatActivity
import android.vie... | 0 | Kotlin | 1 | 1 | 5f3640ff4c37270b28cd7fa00c77e45039e2592d | 1,547 | kotlin-android | Apache License 2.0 |
common/src/main/java/com/prosabdev/common/library/MusicSource.kt | 4kpros | 555,755,264 | false | null | package com.prosabdev.common.library
import android.os.Bundle
import android.provider.MediaStore
import android.support.v4.media.MediaMetadataCompat
import android.util.Log
import androidx.annotation.IntDef
import com.prosabdev.common.extensions.*
abstract class MusicSource : IMusicSource {
@IntDef(
STA... | 0 | Kotlin | 0 | 0 | 796a34eeba061dbd97d17704b43ff1b49247d2d4 | 6,532 | FluidMusic | Apache License 2.0 |
plot-builder/src/jvmTest/kotlin/plot/builder/interact/loc/LayerTargetLocatorSinglePointTest.kt | b7w | 229,423,563 | true | {"Kotlin": 4342986, "Python": 257583, "CSS": 1842, "C": 1638, "Shell": 1590, "JavaScript": 1584} | /*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.builder.interact.loc
import jetbrains.datalore.plot.base.interact.GeomTargetLocator
import jetbrains.datalore.plot.base.interact.GeomTargetLoc... | 0 | null | 0 | 0 | 811327d17d6af2669d22355ee031eaa2cf5da7bc | 4,261 | lets-plot | MIT License |
app/src/main/java/io/chthonic/igdb/poc/data/rest/IgdbApi.kt | jhavatar | 147,967,078 | false | null | package io.chthonic.igdb.poc.data.rest
import io.chthonic.igdb.poc.data.model.IgdbGame
import io.chthonic.igdb.poc.data.model.IgdbImage
import io.reactivex.Single
import okhttp3.RequestBody
import retrofit2.http.*
/**
* Created by jhavatar on 3/25/2018.
*/
interface IgdbApi {
@POST("games/")
fun getGames(@... | 0 | Kotlin | 0 | 1 | 64b1ad4ba900e6e5cbeab4c9708fb320ae2f60d1 | 464 | igdb_poc | Apache License 2.0 |
app/src/main/java/io/github/wbinarytree/ui/main/MainActivity.kt | phoenixwyd | 147,173,460 | false | null | package io.github.wbinarytree.ui.main
import android.os.Bundle
import android.transition.AutoTransition
import android.transition.TransitionManager
import android.transition.TransitionSet
import android.transition.TransitionSet.ORDERING_TOGETHER
import android.view.View
import androidx.constraintlayout.widget.Constrai... | 1 | null | 1 | 1 | b2c6529946422d75cc91bd547273d34137c3ebc1 | 3,845 | Rallette | Apache License 2.0 |
MoTrack/sdk-core/src/main/java/com/motrack/sdk/Reflection.kt | motrackorg | 542,491,377 | false | null | package com.motrack.sdk
import android.content.Context
/**
* @author yaya (@yahyalmh)
* @since 09th October 2021
*/
class Reflection {
companion object {
@Throws(Exception::class)
fun getAdvertisingInfoObject(context: Context?): Any? {
return invokeStaticMethod(
"co... | 0 | Kotlin | 0 | 0 | c17229901ac6b1d10fc016297f6daefe8506b6c2 | 5,774 | AndroidSDK | MIT License |
calf-file-picker/src/desktopMain/kotlin/com/mohamedrejeb/calf/picker/platform/util/Platform.kt | MohamedRejeb | 674,932,206 | false | {"Kotlin": 412190, "Shell": 228} | package com.mohamedrejeb.calf.picker.platform.util
internal object PlatformUtil {
val current: Platform
get() {
val system = System.getProperty("os.name").lowercase()
return when {
system.contains("win") ->
Platform.Windows
system.contains("nix") || system.contains("nux") || system.contains("aix... | 26 | Kotlin | 41 | 905 | acb2a7388a776a6f22fcf7f351868359c3113695 | 500 | Calf | Apache License 2.0 |
Tests/Sources/StandardWriterRejectSpec.kt | ucotta | 141,475,049 | true | {"Kotlin": 304007} | package tests
import com.github.fluidsonic.fluid.json.*
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.dsl.TestBody
import org.jetbrains.spek.api.dsl.describe
import org.jetbrains.spek.api.dsl.it
import java.io.IOException
import java.io.StringWriter
internal object StandardWriterRejectSpec : Spek(... | 0 | Kotlin | 0 | 0 | a4b6b2941fcca6e120c3e2beaac17cedcc1662f0 | 2,004 | fluid-json | MIT License |
domain/src/main/kotlin/foo/bar/clean/domain/features/meta/MetaState.kt | erdo | 396,050,391 | false | {"Kotlin": 385322, "Shell": 2594} | package foo.bar.clean.domain.features.meta
import foo.bar.clean.domain.DomainError
import foo.bar.clean.domain.features.CanError
import foo.bar.clean.domain.features.CanLoad
import foo.bar.clean.domain.features.State
import foo.bar.clean.domain.services.device.Meta
import kotlinx.serialization.Transient
/**
* Copyri... | 0 | Kotlin | 0 | 0 | 763a6fd6528fa51eaf78a2631ad56fba0d2542d3 | 658 | commercial-template | Apache License 2.0 |
sample/src/main/java/com/linkdev/easylocationsample/samples/SampleEasyLocationBaseFragment.kt | linkdevelopment | 336,773,054 | false | {"Kotlin": 74388} | /**
* Copyright (c) 2020-present Link Development
*
* 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 | 32ead92f1ac57b8e9c78b15eccb4e685b83cbf8a | 5,229 | EasyLocation_Android | Apache License 2.0 |
app/src/main/java/com/chrynan/androidsearch/resource/source/MediaMapperResourcesSource.kt | chRyNaN | 161,237,148 | false | null | package com.chrynan.androidsearch.resource.source
import com.chrynan.androidsearch.R
import com.chrynan.androidsearch.resource.MediaMapperResources
import com.chrynan.androidsearch.resource.ResourceProvider
import com.chrynan.androidsearch.util.AppContext
import javax.inject.Inject
class MediaMapperResourcesSource @I... | 0 | Kotlin | 0 | 0 | ade50a4bda75e3e71d86457565e63573feaf597b | 1,052 | Android-Search | Apache License 2.0 |
domain/src/main/kotlin/cafe/adriel/gwentwallpapers/domain/model/search/SearchSorter.kt | adrielcafe | 289,280,933 | false | null | package cafe.adriel.gwentwallpapers.domain.model.search
sealed class SearchSorter {
object Random : SearchSorter()
data class Name(val ascending: Boolean) : SearchSorter()
}
| 0 | Kotlin | 7 | 27 | fdbbf8e9299e86feb46dad29060d404449330e96 | 184 | gwent-wallpapers | MIT License |
src/main/kotlin/com/practice/seongjin/model/Bank.kt | mobius29 | 523,205,625 | false | {"Kotlin": 6000, "HTML": 152} | package com.practice.seongjin.model
data class Bank (
val accountNumber: String,
val trust: Double,
val transactionFee: Int
) | 0 | Kotlin | 0 | 0 | 4e4d2f749bdbdf1d7563bade023cc7078fda11ec | 138 | Springboot-with-Kotlin | MIT License |
src/main/kotlin/cn/har01d/notebook/entity/Notebook.kt | power721 | 455,496,984 | false | {"Vue": 164653, "Kotlin": 149601, "TypeScript": 45280, "HTML": 39446, "JavaScript": 21584, "CSS": 5882, "Shell": 1465} | package cn.har01d.notebook.entity
import cn.har01d.notebook.core.Access
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import java.time.Instant
import javax.per... | 0 | Vue | 0 | 0 | e8abef8d38b3a98b7bb47988f5f97038878bfc97 | 2,042 | notebook | MIT License |
ontrack-extension-general/src/main/java/net/nemerosa/ontrack/extension/general/LinkProperty.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.general
import net.nemerosa.ontrack.model.support.NameValue
data class LinkProperty(
val links: List<NameValue>
) {
companion object {
@JvmStatic
fun of(name: String, value: String): LinkProperty {
return LinkProperty(
... | 57 | Kotlin | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 675 | ontrack | MIT License |
app/src/main/java/com/eneskayiklik/word_diary/feature/settings/presentation/SettingsViewModel.kt | Enes-Kayiklik | 651,794,521 | false | null | package com.eneskayiklik.word_diary.feature.settings.presentation
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.eneskayiklik.word_diary.R
import com.eneskayiklik.word_diary.WordDiaryApp
import com.eneskayiklik.word_diary.core.data.Result
import com.eneskayiklik.word_diary.core... | 0 | Kotlin | 0 | 1 | d03099b5eb8b2ba8857dbc8a3cabff8ff17b7d05 | 1,674 | WordDiary | MIT License |
ebookreader/src/main/java/com/vipulog/ebookreader/FileServer.kt | VipulOG | 666,394,225 | false | {"Kotlin": 38246} | package com.vipulog.ebookreader
import android.net.Uri
import android.webkit.MimeTypeMap
import androidx.core.net.toFile
import fi.iki.elonen.NanoHTTPD
import java.io.FileInputStream
import java.io.IOException
import java.util.Random
internal class FileServer(port: Int = findAvailablePort()) : NanoHTTPD(port) {
... | 0 | Kotlin | 1 | 2 | 598dd63f4d8c6da2c900cfa00ccbffa95e8a8a70 | 2,085 | ebook-reader | MIT License |
src/main/kotlin/com/notify/scheduler/ScheduledTasks.kt | u-verma | 288,201,627 | false | null | package com.notify.scheduler
import com.notify.api.user.repository.UserProfileRepository
import com.notify.client.email.service.EmailService
import org.slf4j.LoggerFactory
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component
import java.text.SimpleDateFormat
@Comp... | 0 | Kotlin | 0 | 0 | c739d5712d03349722c417eefbae348a256a6b4a | 983 | notification | Apache License 2.0 |
src/languages/xml/AndroidXMLSupport.kt | theapache64 | 210,926,645 | false | null | package languages.xml
import base.LanguageSupport
import core.BaseFeature
import languages.xml.features.MiscFeatures
import org.w3c.dom.HTMLSpanElement
import utils.CommonParser
import utils.XMLLineFinder
import kotlinx.browser.window
/**
* This class is used to support Android XML
*/
class AndroidXMLSupport : Lang... | 9 | Kotlin | 6 | 128 | 40b65d2d2db90d9db02c3b803ecd2c30e7a20df9 | 538 | source-pilot | Apache License 2.0 |
src/main/kotlin/gitlabformkt/ProjectsAndGroupConfiguration.kt | s-spindler | 631,059,788 | false | null | package gitlabformkt
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.builtins.MapSerializer
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kot... | 0 | Kotlin | 0 | 0 | abd67bdce2cdc4b1f47b8791f8eb46d795cbfdb4 | 1,349 | gitlabform-kt | Apache License 2.0 |
dcache/src/main/java/dora/cache/factory/MMKVCacheHolderFactory.kt | dora4 | 378,306,065 | false | {"Kotlin": 180368} | package dora.cache.factory
import com.google.gson.reflect.TypeToken
import dora.cache.holder.CacheHolder
import dora.cache.holder.DoraListMMKVCacheHolder
import dora.cache.holder.DoraMMKVCacheHolder
import java.lang.reflect.ParameterizedType
class MMKVCacheHolderFactory<M> : CacheHolderFactory<M> {
override fun ... | 2 | Kotlin | 3 | 30 | 782a37c8ff4464329a1d5cfc6aeb04550f4c5d2a | 1,072 | dcache-android | MIT License |
modules/system/src/main/kotlin/com/blank/system/service/impl/SysUserServiceImpl.kt | qq781846712 | 705,955,843 | false | {"Kotlin": 843661, "Vue": 429588, "TypeScript": 142009, "Java": 62295, "HTML": 29445, "SCSS": 19657, "JavaScript": 3399, "Batchfile": 2056, "Shell": 1786, "Dockerfile": 1306} | package com.blank.system.service.impl
import cn.hutool.core.collection.CollUtil
import cn.hutool.core.util.ArrayUtil
import cn.hutool.core.util.ObjectUtil
import com.blank.common.core.annotation.Slf4j
import com.blank.common.core.constant.CacheNames
import com.blank.common.core.constant.UserConstants
import com.blank.... | 1 | Kotlin | 0 | 0 | f58ba79b345320f753a0694b158b9b0fac7f742e | 16,818 | Ruoyi-Vue-Plus-Kotlin | Apache License 2.0 |
shared/src/commonMain/kotlin/co/touchlab/droidcon/domain/repository/impl/SqlDelightDriverFactory.kt | touchlab | 140,843,272 | false | {"Kotlin": 283700, "Swift": 72125, "HTML": 7463, "Python": 3635, "Ruby": 211} | package co.touchlab.droidcon.domain.repository.impl
import app.cash.sqldelight.db.SqlDriver
expect class SqlDelightDriverFactory {
fun createDriver(): SqlDriver
}
| 14 | Kotlin | 79 | 994 | 7d75c3215f2ba4111dcdbb0597e5a27818be91fe | 169 | DroidconKotlin | Apache License 2.0 |
app/src/main/java/edu/mcu/team03/guideassistsnt/ui/billing/BillingFragment.kt | yoyo930021 | 122,118,276 | false | null | package edu.mcu.team03.guideassistsnt.ui.billing
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.ActivityOptionsCompat
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.View
import and... | 0 | Kotlin | 0 | 0 | 66e6b4917369a1dee056041a5a8d6da34f2d08c3 | 2,112 | GuideAssistsnt | MIT License |
app/src/test/java/com/hypertrack/android/utils/OsUtilsProviderTest.kt | hypertrack | 241,723,736 | false | null | package com.hypertrack.android.utils
import io.mockk.mockk
class OsUtilsProviderTest {
companion object {
fun resourceProvider(): ResourceProvider {
return object :
ResourceProvider by mockk<OsUtilsProvider>(relaxed = true) {
override fun stringFromResource(res:... | 1 | Kotlin | 17 | 31 | c5dd23621aed11ff188cf98ac037b67f435e9f5b | 626 | visits-android | MIT License |
src/main/kotlin/br/com/zup/key/bcb/register/OwnerResponse.kt | victor-gf7 | 348,475,852 | true | {"Kotlin": 36322, "Dockerfile": 166} | package br.com.zup.key.bcb.register
import br.com.zup.key.bcb.OwnerType
import io.micronaut.core.annotation.Introspected
@Introspected
data class OwnerResponse(
val type: OwnerType,
val name: String,
val taxIdNumber: String
)
| 0 | Kotlin | 0 | 0 | 47b4df9bc57fde90b30c24a8bad408e95a310c07 | 240 | orange-talents-01-template-pix-keymanager-grpc | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.