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
packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/ExpoNotificationPresentationModule.kt
expo
65,750,241
false
null
package expo.modules.notifications.notifications.presentation import android.content.Context import android.os.Bundle import expo.modules.core.arguments.ReadableArguments import expo.modules.kotlin.Promise import expo.modules.kotlin.exception.Exceptions import expo.modules.kotlin.modules.Module import expo.modules.kot...
668
null
5226
32,824
e62f80228dece98d5afaa4f5c5e4fb195f3daa15
4,957
expo
Apache License 2.0
kotest-framework/kotest-framework-engine/src/jvmMain/kotlin/io/kotest/engine/config/loadProjectConfigFromClassname.kt
kotest
47,071,082
false
null
package io.kotest.engine.config import io.kotest.core.config.AbstractProjectConfig import io.kotest.core.internal.KotestEngineProperties import io.kotest.mpp.instantiateOrObject import io.kotest.mpp.log import org.jetbrains.annotations.ApiStatus.Internal internal actual fun loadProjectConfigFromClassname(): AbstractP...
156
null
632
4,379
ce06975c4bc9da2ececcbf0646b2e229a7882a06
684
kotest
Apache License 2.0
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package65/Foo06568.kt
yamamotoj
163,851,411
false
{"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2}
package com.github.yamamotoj.module3.package65 class Foo06568 { fun method0() { Foo06567().method5() } fun method1() { method0() } fun method2() { method1() } fun method3() { method2() } fun method4() { method3() } fun method5() {...
0
Kotlin
0
9
2a771697dfebca9201f6df5ef8441578b5102641
347
android_multi_module_experiment
Apache License 2.0
Frontend/Android/app/src/main/java/com/team03/cocktailrecipesapp/FilterIngredientsActivity.kt
sw21-tug
357,795,838
false
{"Text": 2, "Markdown": 6, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "Proguard": 1, "Kotlin": 50, "XML": 55, "Java": 2, "JSON": 4, "YAML": 1, "Dotenv": 1, "SQL": 1, "Dockerfile": 1, "JavaScript": 1}
package com.team03.cocktailrecipesapp import android.content.Intent import android.os.Bundle import android.text.Editable import android.view.LayoutInflater import android.view.View import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.core.view.forEach import com.team03.cocktailr...
3
Kotlin
8
0
1ed95e56d5587bd397049b20300980635128ff91
4,871
Team_03
MIT License
src/day7/AverageValue.kt
minielectron
332,678,510
false
null
package day7 import kotlin.math.max // Given an datastructure.array consisting of n integers, find the contiguous subarray of given // length k that has the maximum average value. And you need to output the maximum average value. class AverageValue { fun findMaxAverage(numbers: IntArray, k: Int) : Float { ...
1
null
1
1
f2aaff0a995071d6e188ee19f72b78d07688a672
1,222
data-structure-and-coding-problems
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/restore/RestoreViewModel.kt
fahimaltinordu
312,207,740
false
null
package io.horizontalsystems.bankwallet.modules.restore import androidx.lifecycle.ViewModel import io.horizontalsystems.bankwallet.core.Clearable import io.horizontalsystems.bankwallet.entities.AccountType import io.horizontalsystems.bankwallet.entities.PredefinedAccountType import io.horizontalsystems.coinkit.models....
0
null
0
4
d3094c4afaa92a5d63ce53583bc07c8fb343f90b
2,316
WILC-wallet-android
MIT License
app/src/main/java/co/omisego/omgshop/pages/products/delegator/ProductListenerDelegator.kt
omisego
116,834,032
false
{"Kotlin": 233704, "Java": 3646}
package co.omisego.omgshop.pages.products.delegator /* * OmiseGO * * Created by <NAME> on 15/7/2018 AD. * Copyright © 2017-2018 OmiseGO. All rights reserved. */ import co.omisego.omgshop.pages.products.listener.ProductListener import co.omisego.omgshop.pages.products.listener.ProductListenerHolder class Product...
0
Kotlin
5
6
05334ec4c00cfd6df3d5bd97c3145f317501c0e1
424
sample-android
Apache License 2.0
app/src/main/java/com/night/smallimageview/MainActivity.kt
NightRainDream
538,842,001
false
{"Java": 21024, "Kotlin": 4552}
package com.night.smallimageview import android.content.Intent import android.os.Bundle import android.util.TypedValue import android.view.Menu import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import com.night.image.SmallImageView class MainActivity : AppCompatActivity() { override fun...
1
null
1
1
8a5ef1f9676516724e42dd36d779dcd3500902c9
1,661
SmallImageView
Apache License 2.0
app/src/main/kotlin/kr/ac/snu/hcil/omnitrack/ui/pages/items/ItemBrowserActivity.kt
yghokim
62,933,149
false
null
package kr.ac.snu.hcil.omnitrack.ui.pages.items import android.app.Dialog import android.content.Context import android.content.DialogInterface import android.content.Intent import android.os.Bundle import android.util.Log import android.view.* import android.widget.* import androidx.coordinatorlayout.widget.Coordinat...
9
null
4
8
f13e5c157d5646c3f9493c4fdc25ed3b1fc2e296
40,066
omnitrack_android
MIT License
plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/PlaybackRunnerService.kt
JetBrains
2,489,216
false
null
package com.jetbrains.performancePlugin import com.intellij.openapi.components.Service import com.intellij.openapi.extensions.ExtensionPointName import com.intellij.openapi.project.Project @Service class PlaybackRunnerService { fun runScript(project: Project, script: String){ EP_NAME.extensionList.first().runS...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
490
intellij-community
Apache License 2.0
examples/virtual-device-app/android/App/core/domain/src/main/java/com/matter/virtual/device/app/core/domain/usecase/matter/cluster/GetOnOffFlowUseCase.kt
project-chip
244,694,174
false
null
package com.matter.virtual.device.app.core.domain.usecase.matter.cluster import com.matter.virtual.device.app.core.data.repository.cluster.OnOffManagerRepository import javax.inject.Inject import kotlinx.coroutines.flow.StateFlow class GetOnOffFlowUseCase @Inject constructor(private val onOffManagerRepository: OnOffM...
1,443
null
1769
6,671
420e6d424c00aed3ead4015eafd71a1632c5e540
426
connectedhomeip
Apache License 2.0
src/main/kotlin/logic/ResolverAtom.kt
zensum
100,732,002
false
null
package leia.logic import leia.Atom import java.util.concurrent.atomic.AtomicReference // An atom implementing Resolver, by passing calls on to the value contained in the atom class ResolverAtom(inner: Resolver) : Resolver, Atom<Resolver> { override val reference: AtomicReference<Resolver> = AtomicReference(inner...
0
null
2
5
4b7689b8338b8dd369b92cb5badb9b223740e062
412
leia
MIT License
LargeDynamicProject/common/commonA/src/main/java/com/devrel/experiment/large/dynamic/feature/common/a/Foo2050.kt
skimarxall
212,285,318
false
null
package com.devrel.experiment.large.dynamic.feature.common.a annotation class Foo2050Fancy @Foo2050Fancy class Foo2050 { fun foo0(){ Foo2049().foo8() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun f...
1
null
1
1
e027d45a465c98c5ddbf33c68deb09a6e5975aab
403
app-bundle-samples
Apache License 2.0
app/src/main/java/com/example/mymovies/screens/watchlist/WatchlistViewModel.kt
robdeputter
217,722,349
false
null
package com.example.mymovies.screens.favorites import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.example.mymovies.database.MyMoviesDatabase import com.example.mymovies.models.MovieSerieDetail import com.example.mymovies.repository.FavoritsReposi...
0
Kotlin
0
1
08f2afc6240ee8d9c450358ccf70fca85b772c63
2,469
MyMovies_Android
MIT License
app/src/main/java/com/example/foodvillage/DetailAddressActivity.kt
aerimforest
423,051,813
false
{"Kotlin": 241210}
package com.example.foodvillage import android.content.ContentValues import android.content.Intent import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import com.example.foodvillage.databinding.ActivityDetailAddressBinding import com.google.firebase.auth.FirebaseAuth import...
0
Kotlin
1
2
4b9b0ba1c186d80f976a9a9553880da1ca4ea881
5,780
FoodVillage_Android
MIT License
app/src/main/java/com/teslyuk/weatherapp/data/model/Weather.kt
TeslyukTaras
181,627,363
false
null
package com.teslyuk.weatherapp.data.model import androidx.room.Entity import androidx.room.PrimaryKey @Entity class Weather { @PrimaryKey(autoGenerate = true) var id: Long = 0 var time: Long = 0 var temp: Double = 0.0 var tempMin: Double = 0.0 var tempMax: Double = 0.0 var humidity: Int = ...
0
Kotlin
0
3
8a2ad060994835a11340d1e7a66d117d3909e9b0
796
AndroidTutorial_Architecture
Apache License 2.0
dagpenger/src/test/kotlin/no/nav/dagpenger/features/utils/DataConverter.kt
navikt
415,800,876
false
{"Kotlin": 341932, "Gherkin": 55119, "HTML": 1870, "Dockerfile": 204}
package no.nav.dagpenger.features.utils import io.cucumber.java.ParameterType import java.time.LocalDate import java.time.format.DateTimeFormatter internal fun String.somLocalDate(): LocalDate { val formatter = DateTimeFormatter.ofPattern("dd.MM.yyyy") return LocalDate.parse(this, formatter) } @ParameterType...
2
Kotlin
0
0
d9cc73444ca255451f8c637adfdad22f552b89ee
396
dp-behandling
MIT License
app/src/main/java/com/example/internetcookbook/models/ListFoodModel.kt
michealdunne14
272,404,745
false
{"Kotlin": 231001}
package com.example.internetcookbook.models import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class ListFoodModel ( var foodArray: MutableList<FoodMasterModel> = mutableListOf() ): Parcelable
0
Kotlin
0
2
bf8bcb28ea43b984762c525ecf7c76f0ddeedf7f
232
InternetCookBookFYP
MIT License
app/src/main/java/com/sayaradz/models/CarCompare.kt
sayaradz
170,285,633
false
null
package com.sayaradz.models data class CarCompare( val name: String? = null, val vOption1: Option? = null, var vOption2: Option? = null, var colorsV1: List<Color>, var colorsV2: List<Color> )
0
Kotlin
1
2
15d54c6e9c959fafdd84703dbf63ae9245aa08ce
214
sayaradz_android
MIT License
android/processor/src/main/kotlin/com/bael/dads/processor/ext/AnnotationMirrorExt.kt
ErickSumargo
325,042,307
false
null
package com.bael.dads.processor.ext import javax.lang.model.element.AnnotationMirror import javax.lang.model.element.Element import javax.lang.model.element.TypeElement import javax.lang.model.type.TypeMirror import javax.lang.model.util.Types import kotlin.reflect.KProperty /** * Created by ErickSumargo on 01/01/21...
1
Kotlin
21
242
8eb44894518e23f535a69cbe0207ad034f6a282f
730
Dads
MIT License
core/model/src/main/java/com/awesomejim/weatherforecast/core/Units.kt
AwesomeJim
694,998,079
false
{"Kotlin": 274562, "Ruby": 1740}
package com.awesomejim.weatherforecast.core import java.io.PrintWriter import java.io.StringWriter import java.text.SimpleDateFormat import java.util.Date import java.util.Locale enum class Units(val value: String, val tempLabel: String) { STANDARD("standard", "°F"), METRIC("metric", "°C"), IMPERIAL("impe...
0
Kotlin
0
2
f7b28f8fcf76e78bf6fa8354f86ddef2659c9fdc
942
weather-forecast
Apache License 2.0
app/src/main/java/com/perracolabs/yasc/ui/navigation/Route.kt
perracodex
714,243,421
false
{"Kotlin": 93043}
/* * Copyright (c) 2023 <NAME>. All rights reserved. * This work is licensed under the terms of the MIT license. * For a copy, see <https://opensource.org/licenses/MIT> */ package com.perracolabs.yasc.ui.navigation import androidx.annotation.DrawableRes import androidx.annotation.StringRes import com.perracolabs....
0
Kotlin
0
1
a848f4c8ca4bbab2d69c115dfbf0a89782fd5df2
1,341
yasc
MIT License
src/main/kotlin/no/nav/personbruker/minesaker/api/config/Environment.kt
navikt
331,032,645
false
null
package no.nav.personbruker.minesaker.api.config import no.nav.personbruker.dittnav.common.util.config.IntEnvVar.getEnvVarAsInt import no.nav.personbruker.dittnav.common.util.config.StringEnvVar.getEnvVar import java.net.URL data class Environment( val rootPath: String = getEnvVar("ROOT_PATH", "mine-saker-api"), ...
1
Kotlin
1
0
9483405e40b286e7b537a699ca3cf4eaca40ed0e
1,058
mine-saker-api
MIT License
test-app/build-tools/android-metadata-generator/src/src/com/telerik/metadata/parsing/classes/MetadataInfoAnnotationDescriptor.kt
VladimirAmiorkov
224,983,339
true
{"C++": 8369197, "C": 5644964, "Java": 2287743, "JavaScript": 424761, "Kotlin": 33805, "CMake": 17102, "Shell": 5892, "Objective-C": 2518, "TypeScript": 1833, "CSS": 265}
package com.telerik.metadata.parsing.classes interface MetadataInfoAnnotationDescriptor { val superClassname: String fun skip(): Boolean }
0
null
0
0
a007089c2e5d4357c151f001f5199eef2f73573b
148
android-runtime
Apache License 2.0
backend/src/project/annotationschema/AnnotationStepKey.kt
MaxMello
211,313,972
false
{"JavaScript": 710246, "Kotlin": 539611, "Python": 19119, "Dockerfile": 1460, "HTML": 793, "Shell": 554, "CSS": 39}
package project.annotationschema import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo import common.asAny import common.getNestedKey import document.Document import document.annotation.Annotation import document.annotation.AnnotationMap import document.annotation.Ge...
2
JavaScript
0
6
831e1be853a63b7059ad8aa942049eeb6f07a74e
1,632
ActiveAnno
MIT License
sudoadtrackerblocker/src/test/java/com/sudoplatform/sudoadtrackerblocker/SudoAdTrackerBlockerClientExceptionsTest.kt
sudoplatform
330,756,126
false
{"Kotlin": 180557, "Rust": 2563, "Shell": 1983}
/* * Copyright © 2022 Anonyome Labs, Inc. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ package com.sudoplatform.sudoadtrackerblocker import com.sudoplatform.sudoadtrackerblocker.blocking.BlockingExceptions import com.sudoplatform.sudoadtrackerblocker.types.toHostException import io.kotlintest.s...
0
Kotlin
0
0
5f320dbbf90bb4e2f14600eb79509878d67871ac
6,563
sudo-adtrackerblocker-android
Apache License 2.0
app/src/main/java/com/example/navigationtest/ui/composable/PageTwo.kt
xiaolanlaia
557,213,874
false
{"Kotlin": 9372}
package com.example.navigationtest.ui.composable import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.Button import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose...
0
Kotlin
0
0
7322a48bdd5f099a1665efc78ea07f7db54b28d5
1,160
NavigationTest
Apache License 2.0
packages/proto/proto-flatbuffers/src/main/kotlin/elide/page/Context_/Styles_/Stylesheet.kt
elide-dev
506,113,888
false
{"Kotlin": 5146702, "JavaScript": 1203447, "Java": 321269, "Protocol Buffer": 276092, "Shell": 87079, "Dockerfile": 50776, "Cap'n Proto": 35188, "Makefile": 30138, "CSS": 14730, "Python": 6626, "C": 4100, "Batchfile": 3016, "Ruby": 2474, "Handlebars": 1954, "HTML": 1010, "Rust": 525, "Swift": 23}
/* * Copyright (c) 2023 Elide Ventures, LLC. * * Licensed under the MIT license (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * https://opensource.org/license/mit/ * * Unless required by applicable law or agreed to in writing, sof...
75
Kotlin
15
88
5cd3312b5ee32726db34f5673f0d4f557ec91cca
4,278
elide
MIT License
Meld-Module-World/src/main/kotlin/io/github/daylightnebula/meld/world/chunks/ChunkRegistry.kt
DaylightNebula
652,923,400
false
{"Kotlin": 199201, "Python": 792}
package io.github.daylightnebula.meld.world.chunks import io.github.daylightnebula.meld.server.networking.common.ByteWriter import io.github.daylightnebula.meld.server.networking.common.DataPacketMode import org.jglrxavpok.hephaistos.nbt.NBT import org.jglrxavpok.hephaistos.nbt.NBTCompound import org.jglrxavpok.hephai...
0
Kotlin
0
1
2290a5266ae56ef2e59cad88fc1f38e825b2cc88
3,958
Meld
Apache License 2.0
app/src/main/java/io/github/zeyomir/cv/base/di/AppComponent.kt
zeyomir
284,504,220
false
null
package io.github.zeyomir.cv.base.di import android.app.Application import dagger.BindsInstance import dagger.Component import io.github.zeyomir.cv.di.CvComponent @AppScope @Component(modules = [NetworkModule::class, AppModule::class]) interface AppComponent { fun getCvComponentBuilder(): CvComponent.Builder ...
0
Kotlin
0
0
2722689931920b5ab8d42b14c5d84526d14a3dff
634
cv
Apache License 2.0
app/src/main/java/pl/gmat/users/feature/list/dagger/UsersListComponent.kt
gmatyszczak
244,174,218
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 54, "XML": 18, "Java": 1}
package pl.gmat.users.feature.list.dagger import dagger.BindsInstance import dagger.Subcomponent import pl.gmat.users.common.dagger.ScreenScope import pl.gmat.users.feature.list.ui.UsersListActivity @ScreenScope @Subcomponent( modules = [UsersListModule::class] ) interface UsersListComponent { fun inject(act...
1
null
1
1
b280b0b2796ead293d27a3cac1a4b2530bfcaba0
487
users-sample
Apache License 2.0
app/src/main/java/com/masterplus/notex/api/GDriveRepo.kt
Ramazan713
458,716,624
false
null
package com.masterplus.notex.api import com.masterplus.notex.api.services.GDriveService import com.masterplus.notex.enums.BackupFileType import com.masterplus.notex.managers.AuthManager import com.masterplus.notex.models.api.DriveBody import com.masterplus.notex.models.api.DriveFileResponse import com.masterplus.notex...
0
Kotlin
0
0
886e40f402573bb2af517432bec48fa5628a5a0d
5,558
Note-X
Apache License 2.0
src/commonMain/kotlin/data/items/LionheartExecutioner.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import character.Buff import character.Stats import kotlin.Array import kotlin.Boolean import kotlin.Double import kotlin.Int import kot...
21
null
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,688
tbcsim
MIT License
app/src/main/java/ar/com/postapp/MainActivity.kt
nicolaquartieri
360,662,827
false
null
package ar.com.postapp import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import ar.com.postapp.listing.view.fragment.ListingFragment class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContent...
0
Kotlin
0
0
fc867f9fe71a5a4540e157d57a1007f168ab4677
593
post-app
MIT License
src/main/java/de/brenner/it/mockserver/configuration/DefaultConfigurationSource.kt
Jonathan2015
636,889,201
false
null
package de.brenner.it.mockserver.configuration import de.brenner.it.mockserver.handler.HttpPath import de.brenner.it.mockserver.util.JsonUtil import java.io.File import java.nio.file.Paths import java.util.logging.Logger class DefaultConfigurationSource : IConfigurationSource { private var configFilePath: String...
0
Kotlin
0
0
854c7823121ea0239b85f66c5e7e485945f79095
1,924
YAMockServer
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/lineduotone/foodkitchen/Bottle.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.lineduotone.foodkitchen 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.StrokeCap.Co...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
18,363
SolarIconSetAndroid
MIT License
app/src/main/java/i/stock/market/data/mapper/CompanyMapper.kt
hdmor
757,413,169
false
{"Kotlin": 38595}
package i.stock.market.data.mapper import i.stock.market.data.data_source.local.CompanyListingEntity import i.stock.market.data.data_source.remote.dto.CompanyInfoDto import i.stock.market.domain.model.CompanyInfo import i.stock.market.domain.model.CompanyListing fun CompanyListingEntity.toCompanyListing(): CompanyLis...
0
Kotlin
0
0
67a2cd4d5bc09b11988a3b57fcc0a1112993066f
811
iStockMarket
MIT License
main/java/weiss/kotlin/wordleexperiment/SolutionWord.kt
phoebe0909
561,542,565
false
{"Kotlin": 21487}
package weiss.kotlin.wordleexperiment class SolutionWord (var gameNumber: Int){ val word: String private val answerBlock = arrayOf<String>( "REACT","SUPER","LOOPS", "SCOPE", "FILES", "CODES","THROW","LOGIC","WHILE","SCOPE","CRASH","VIRUS", "ERROR", "MODEM","ARRAY", "MOUSE", "BASIC", "BLOCK", ...
0
Kotlin
0
0
0e6c513660cbab54ee6d740aa36c0235c43b8b0b
1,071
codeler
MIT License
data/src/test/kotlin/com/fuzzyfunctors/reductions/data/deal/DealGenerator.kt
torresmi
123,222,268
false
null
package com.fuzzyfunctors.reductions.data.deal import com.fuzzyfunctors.reductions.testutil.NullableGenerator import com.fuzzyfunctors.reductions.testutil.firstRandom import com.fuzzyfunctors.reductions.testutil.randomInt import com.fuzzyfunctors.reductions.testutil.randomLong import com.fuzzyfunctors.reductions.testu...
7
Kotlin
0
1
49acdcac8b82132aa6f53a722f29687470e7116e
3,434
reductions-android
Apache License 2.0
tokenizer/korean/src/main/kotlin/io/bluetape4k/tokenizer/korean/tokenizer/KoreanToken.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.tokenizer.korean.tokenizer import io.bluetape4k.tokenizer.korean.utils.KoreanPos import java.io.Serializable /** * Korean token * * @property text * @property pos * @property offset * @property length * @property stem * @property unknown * @constructor Create empty Korean token */ data...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
810
bluetape4k
MIT License
sync-memory-tests/testSrc/com/android/tools/idea/gradle/project/sync/memory/MemoryConstrainedTestRule.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
5,116
android
Apache License 2.0
app/src/test/java/com/jmat/powertools/ExampleUnitTest.kt
jmalfara
439,202,008
false
{"Kotlin": 241222, "Ruby": 1134}
package com.jmat.powertools import org.junit.Assert.assertEquals import org.junit.Test /** * Example local unit test, which will execute on the development machine (host). * * See [testing documentation](http://d.android.com/tools/testing). */ class ExampleUnitTest { @Test fun addition_isCorrect() { ...
0
Kotlin
0
2
21cf292084346fc2be61406749e810d6ad66a70d
374
PowerTools
MIT License
garage-core/src/main/java/com/sys1yagi/android/garage/core/config/ExecutorConfiguration.kt
takatoshi-maeda
74,141,331
true
{"Kotlin": 50124, "Java": 47}
package com.sys1yagi.android.garage.core.config import com.sys1yagi.android.garage.core.executor.Executor class ExecutorConfiguration(val executor: Executor) { }
0
Kotlin
0
0
64be706dde9b2f0dedb46a3b0e0dd07150e8bbf7
164
garage-android
MIT License
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/common/RcChannelsOverride.kt
urbanmatrix
484,943,163
false
null
package xyz.urbanmatrix.mavlink.definitions.common import java.nio.ByteBuffer import java.nio.ByteOrder import kotlin.ByteArray import kotlin.Int import kotlin.Unit import xyz.urbanmatrix.mavlink.api.GeneratedMavField import xyz.urbanmatrix.mavlink.api.GeneratedMavMessage import xyz.urbanmatrix.mavlink.api.MavDeserial...
1
Kotlin
4
9
8f480256eeaac5755a2ce5582c338a4b30c7e178
11,363
mavlink-kotlin
Apache License 2.0
src/main/java/miyucomics/hexical/casting/patterns/lamp/OpTerminateArchLamp.kt
miyucomics
757,094,041
false
{"Kotlin": 319882, "Java": 28575, "GLSL": 1075, "Shell": 81}
package miyucomics.hexical.casting.patterns.lamp import at.petrak.hexcasting.api.spell.ParticleSpray import at.petrak.hexcasting.api.spell.RenderedSpell import at.petrak.hexcasting.api.spell.SpellAction import at.petrak.hexcasting.api.spell.casting.CastingContext import at.petrak.hexcasting.api.spell.iota.Iota import ...
0
Kotlin
1
1
bc0e42321471a5e584701f57dffbe387a8d40c8b
1,213
hexical
MIT License
app/src/main/java/wannabit/io/cosmostaion/task/gRpcTask/VaultBalanceGrpcTask.kt
cosmostation
418,314,439
false
{"Java": 9401828, "Kotlin": 430818}
package wannabit.io.cosmostaion.task.gRpcTask import com.google.gson.Gson import com.google.protobuf.ByteString import cosmwasm.wasm.v1.QueryGrpc import cosmwasm.wasm.v1.QueryOuterClass import org.json.JSONObject import wannabit.io.cosmostaion.base.BaseApplication import wannabit.io.cosmostaion.base.BaseChain import w...
0
Java
51
66
4a89189b1f7f053a1cd97a1e0371940bad52bd05
1,946
cosmostation-android
MIT License
app/src/main/java/com/lukeneedham/timetotime/ui/countdown/composables/TimeEditButton.kt
LukeNeedham
344,204,978
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
1
f2d96e0425c4f4514fcf66c6538e4f8c495fce64
2,601
TimeToTime
Apache License 2.0
src/test/kotlin/ValueTest.kt
andreihod
559,693,260
false
null
import org.junit.jupiter.api.Test import kotlin.test.assertEquals internal class ValueTest { @Test fun backwardTestA() { val x = Value(-4.0) val z = 2 * x + 2 + x val q = z.relu() + z * x val h = (z * z).relu() val y = h + q + q * x y.backward() assertE...
0
Kotlin
0
1
e3b1cfe7a709d9ad515f9d39d26dd3751d557245
976
micrograd-kt
MIT License
data/src/main/java/com/roxana/recipeapp/data/recipe/DbCategoryType.kt
roxanapirlea
383,507,335
false
null
package com.roxana.recipeapp.data.recipe enum class DbCategoryType { BREAKFAST, LUNCH, DINNER, SNACK, MAIN, SIDE, DESSERT, DRINK }
0
Kotlin
0
1
8dc3e7040d806893dddd4538e15dd3a40faa80a4
164
RecipeApp
Apache License 2.0
extensions/retrofit/src/main/java/com/extensions/retrofit/components/exceptions/NetworkException.kt
VitaliyDoskoch
263,280,184
false
null
package com.extensions.retrofit.components.exceptions class NetworkException( val url: String, val type: Type, val reason: Any, val description: String? = null, cause: Throwable? = null ) : RuntimeException(cause) { enum class Type { /** * non-200 HTTP status code was received...
0
Kotlin
0
0
9de9670b1b24934a39122b58517d026569cea1d3
1,006
Movies
MIT License
app/src/main/java/cn/bngel/bngelbook/dao/VersionDao.kt
Bngel
426,911,208
false
null
package cn.bngel.bngelbook.dao import cn.bngel.bngelbook.data.CommonResult import cn.bngel.bngelbook.data.bean.Version import retrofit2.Call import retrofit2.http.FormUrlEncoded import retrofit2.http.GET import retrofit2.http.POST import retrofit2.http.Query /** * @author: bngel * @date: 22.1.12 * @description: ...
0
Kotlin
0
0
5045bd91ecb00abcce032d03ff6d0e046fd82666
477
bngelbook-android
Apache License 2.0
fluentui_core/src/main/java/com/microsoft/fluentui/theme/token/controlTokens/ButtonTokens.kt
microsoft
257,221,908
false
{"Kotlin": 3021107, "Shell": 8996}
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // package com.microsoft.fluentui.theme.token.controlTokens import android.os.Parcelable import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.layout.PaddingValues import androidx.compose....
41
Kotlin
96
574
851a4989a4fce5db50a1818aa4121538c1fb4ad9
13,076
fluentui-android
MIT License
app/src/main/java/com/coxtunes/exoplayer/VideoStramingActivity.kt
abircse
455,138,450
false
null
package com.coxtunes.exoplayer import android.content.DialogInterface import android.content.pm.ActivityInfo import android.content.res.Configuration import android.os.Bundle import android.view.View import android.widget.ImageView import android.widget.TextView import androidx.appcompat.app.AlertDialog import android...
0
Kotlin
1
2
42f21cfee3874fa6c1d1ddbe1c357d29daacd2a9
6,277
Exoplayer
The Unlicense
modules/domain/src/main/java/eu/automateeverything/domain/automation/IfThanElseAutomationNode.kt
tomaszbabiuk
488,678,209
false
{"Kotlin": 490456, "Vue": 135423, "JavaScript": 50516, "HTML": 795}
/* * Copyright (c) 2019-2022 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Kotlin
1
0
f1163bb95b9497c70ed48db0bcaf4e7050218e7a
1,191
automate-everything
Apache License 2.0
app/src/main/java/com/goldmen/android/nasa_apod/domain/repository/ApodRepository.kt
deepak1945
535,346,815
false
null
package com.goldmen.android.nasa_apod.domain.repository import com.goldmen.android.nasa_apod.domain.util.Resource import com.goldmen.android.nasa_apod.model.ApodEntity import kotlinx.coroutines.flow.Flow interface ApodRepository { fun getLatestApods( isRefresh: Boolean, param: Map<String, String>,...
0
Kotlin
0
2
538b0b13fb95fe56da8c37a61f43a65f1dc369ba
550
Goldman-Nasa-Apod
Apache License 2.0
sample/src/main/kotlin/tech/thdev/androidrecyclerview/adapter/header_footer/model/ImageHFAdapterContract.kt
PierrotNarsha
178,188,132
true
{"Kotlin": 11590, "Java": 1157}
package tech.thdev.androidrecyclerview.adapter.header_footer.model import tech.thdev.androidrecyclerview.data.FlipItems import tech.thdev.androidrecyclerview.data.Image import tech.thdev.support.widget.adapter.header_footer.model.BaseHeaderFooterRecyclerModel /** * Created by Tae-hwan on 25/10/2016. */ interface I...
0
Kotlin
0
0
8787fc271b83cd6b554297038bc3ff24d406f492
479
AndroidRecyclerView
Apache License 2.0
CallofProjectAndroid/app/src/main/java/callofproject/dev/androidapp/presentation/user_profile/UserProfileEvent.kt
CallOfProject
751,531,328
false
{"Kotlin": 429418, "Java": 5965}
package callofproject.dev.androidapp.presentation.user_profile import android.net.Uri import callofproject.dev.androidapp.domain.dto.user_profile.course.CourseDTO import callofproject.dev.androidapp.domain.dto.user_profile.education.EducationDTO import callofproject.dev.androidapp.domain.dto.user_profile.experience.Ex...
0
Kotlin
1
1
9cc12cd78cc212d474cd32b7ea3a89a5b8d5905b
1,733
Call-Of-Project-Android
MIT License
ios/src/main/java/org/ergoplatform/ios/tokens/ThumbnailContainer.kt
ergoplatform
376,102,125
false
null
package org.ergoplatform.ios.tokens import org.ergoplatform.ios.ui.* import org.robovm.apple.coregraphics.CGRect import org.robovm.apple.uikit.* class ThumbnailContainer(private val baseSize: Double = 24.0) : UIView(CGRect.Zero()) { private val thumbnailPicture = UIImageView(CGRect.Zero()).apply { content...
16
Kotlin
35
94
b5f6e5176cf780a7437eb3c8447820bd9409c8ac
1,321
ergo-wallet-app
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsstrengthsbasedneedsassessmentsapi/oasys/datamapping/v1/EducationTest.kt
ministryofjustice
623,389,131
false
{"Kotlin": 338856, "Makefile": 3335, "Dockerfile": 1194}
package uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.oasys.datamapping.v1 import uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.oasys.datamapping.Field import uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.oasys.datamapping.Given import uk.gov.justice.di...
4
Kotlin
0
0
a42922863e180fd274b6062a261d3ae5079194dc
11,523
hmpps-strengths-based-needs-assessments-api
MIT License
frontend/src/main/kotlin/de/uulm/se/couchedit/client/controller/workspace/LoadedFileController.kt
sp-uulm
303,650,849
false
null
package de.uulm.se.couchedit.client.controller.workspace import de.uulm.se.couchedit.client.controller.canvas.processing.CanvasCoordinator import de.uulm.se.couchedit.processing.common.modbus.ModificationBusManager import de.uulm.se.couchedit.serialization.controller.DiffCollectionPersister import javafx.beans.propert...
0
Kotlin
0
0
595266c0bca8f2ee6ff633c4b45b91e5f3132cc4
3,083
CouchEdit
Apache License 2.0
presentation/src/main/kotlin/style/carrot/android/CarrotStyleApp.kt
carrot-style
450,824,734
false
{"Kotlin": 87157}
/* * carrot-android © 2022 <NAME>. all rights reserved. * carrot-android license is under the MIT. * * [CarrotStyleApp.kt] created by <NAME> on 22. 1. 23. 오전 11:42 * * Please see: https://github.com/carrot-style/carrot-android/blob/main/LICENSE. */ package style.carrot.android import android.app.Application im...
0
Kotlin
0
4
53dfb4008a074ea6728819165eed9447307e2470
1,441
carrot-android
MIT License
src/main/kotlin/github/zimo/autojsx/action/save/SaveDoc.kt
zimoyin
675,280,596
false
null
package github.zimo.autojsx.action.save import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.CommonDataKeys import com.intellij.openapi.module.ModuleType import com.intellij.openapi.project.modules import github.zimo.autojsx.m...
1
null
7
12
76f3574c6f0bc8f7ce20181ffb4eac95b7f4c5f2
1,466
Autojsx.WIFI
Apache License 2.0
app/src/main/java/com/jerry/assessment/base/presentation/mvi/BaseViewModel.kt
jchodev
730,705,691
false
{"Kotlin": 257177}
package com.jerry.assessment.base.presentation.mvi import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.consumeAsFlow import kotlinx.coroutines.flow.onStart import kotlinx.coroutines.launch import timber.log.Timber abst...
0
Kotlin
0
1
5cdbdeb2cf9178310bce2eb2e4028409d4f40fbd
1,651
mobile-coverage-2
MIT License
app/src/main/java/ru/mrfrozzen/cookbook/utilities/Constants.kt
MrFrozzen
222,162,272
false
null
package ru.mrfrozzen.cookbook.utilities const val DB_NAME = "cookbook_db" const val RECIPE_DATA_FILENAME = "recipes.json" const val CATEGORY_DATA_FILENAME = "categories.json" const val FILE_PROVIDER_AUTHORITY = "com.example.android.fileprovider" const val PREFS_NAME = "ru.mrfrozzen.cookbook" const val PREF_INGREDIENT_...
0
Kotlin
0
0
0d417a0beb30d3b9628372f67395ae7afbb0e715
1,021
Cookbook
Apache License 2.0
app/src/main/java/com/workfort/pstuian/util/view/imageslider/indicatorview/IndicatorManager.kt
arhanashik
411,942,559
false
{"Kotlin": 1116286}
package com.workfort.pstuian.util.view.imageslider.indicatorview import com.workfort.pstuian.util.view.imageslider.indicatorview.animation.AnimationManager import com.workfort.pstuian.util.view.imageslider.indicatorview.animation.controller.ValueController.UpdateListener import com.workfort.pstuian.util.view.imageslid...
0
Kotlin
0
2
9c51ec4d4d477ae739b922c49127ac69844f4d6e
1,546
PSTUian-android
Apache License 2.0
app/src/main/java/com/steleot/jetpackcompose/playground/compose/ui/LocalSoftwareKeyboardControllerScreen.kt
Vivecstel
338,792,534
false
{"Kotlin": 1538487}
package com.steleot.jetpackcompose.playground.compose.ui import androidx.compose.foundation.layout.* import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptions //noinspection UsingMaterialAndMaterial3Libraries import androidx.compose.material.Button //noinspection U...
1
Kotlin
46
346
0161d9c7bf2eee53270ba2227a61d71ba8292ad0
2,621
Jetpack-Compose-Playground
Apache License 2.0
src/main/kotlin/services/impl/JasmineServiceImpl.kt
bobril
159,777,418
false
{"Gradle": 2, "Markdown": 3, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "XML": 3, "Java": 1, "Kotlin": 46, "YAML": 1, "JSON with Comments": 3, "JSON": 1}
package services.impl import configuration.JasmineData import services.JasmineService class JasmineServiceImpl : JasmineService { private var data: JasmineData? = null override fun getJasmineData(): JasmineData? { return data } override fun setJasmineData(data: JasmineData) { this.da...
1
null
1
1
7425e58ccbd282fb5298dc5851352164deb283f5
337
bobril-jetbrains-runner
MIT License
extensions/nestedadapter/src/main/kotlin/smartadapter/nestedadapter/SmartNestedRecyclerViewHolder.kt
manneohlund
92,768,662
false
null
package smartadapter.nestedadapter import androidx.recyclerview.widget.RecyclerView import smartadapter.viewholder.SmartViewHolder /** * Holds reference to a [RecyclerView] for a [SmartViewHolder] subclass. */ interface SmartNestedRecyclerViewHolder { /** * Override and assign this reference to the target...
12
Kotlin
51
407
aad30be7ed58deee39a8efaffac3207c486a28a2
413
smart-recycler-adapter
Apache License 2.0
src/main/kotlin/com/sourcegraph/cody/agent/protocol/Range.kt
sourcegraph
702,947,607
false
{"Kotlin": 698606, "Java": 222803, "Shell": 4404, "TypeScript": 2153, "Nix": 1122, "JavaScript": 436, "HTML": 294}
package com.sourcegraph.cody.agent.protocol import com.sourcegraph.cody.vscode.Position as VSCPosition import com.sourcegraph.cody.vscode.Range as VSCRange typealias RangePair = Pair<Int, Int> data class Range(val start: Position, val end: Position) { // We need to .plus(1) since the ranges use 0-based indexing ...
274
Kotlin
10
39
6e3cd8577afa7cac754ed354a5c2b77ea2ae3ed8
776
jetbrains
Apache License 2.0
app/src/main/java/com/eugenedondo/leftrightdrawer/lrdlibrary/LeftRightDrawerLayout.kt
CodeGenes
177,806,631
false
null
package com.eugenedondo.leftrightdrawer.lrdlibrary import android.app.Activity import android.content.Context import android.content.ContextWrapper import android.content.res.Configuration import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Build import android.support.annota...
0
Kotlin
0
0
6c81609d31250145668f7ab2e6c7cb4282a386df
12,818
LeftRightNavigation
MIT License
utbot-python-types/src/test/kotlin/org/utbot/python/newtyping/PythonCompositeTypeDescriptionTest.kt
UnitTestBot
480,810,501
false
null
package org.utbot.python.newtyping import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import org.utbot.python.newtyping.mypy.MypyInfoBuild import org.utbot.python.newtyping.mypy.readMypyInfoBuildWithoutRoot @Test...
397
null
32
91
f9c95348acb59c1b4fc212ecb36e6b2968e9ac5a
2,974
UTBotJava
Apache License 2.0
app/src/main/java/org/rfcx/incidents/view/MainActivity.kt
rfcx
104,899,135
false
{"Kotlin": 1176262, "Java": 1049}
package org.rfcx.incidents.view import android.Manifest import android.app.Dialog import android.content.Context import android.content.Intent import android.content.IntentFilter import android.content.pm.PackageManager import android.location.Location import android.net.Uri import android.os.Build import android.os.B...
29
Kotlin
0
0
804d56b8c7475e51299db5fde9207ae783820bf9
20,539
guardian-app-android
Apache License 2.0
platform/lang-impl/src/com/intellij/codeInsight/hints/BlockInlayRenderer.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.hints import com.intellij.codeInsight.hints.presentation.* import com.intellij.openapi.editor.Inlay import com.intellij.util.ui...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,141
intellij-community
Apache License 2.0
namshi-credit-card-input/src/main/java/com/namshi/cardinput/view/CardNumberTextInputLayout.kt
namshi
301,696,955
false
null
package com.namshi.cardinput.view import android.content.Context import android.util.AttributeSet import android.widget.FrameLayout import androidx.core.view.children import androidx.core.view.updateLayoutParams import com.namshi.cardinput.R import kotlin.properties.Delegates /** * An [IconTextInputLayout] that can ...
0
Kotlin
0
0
825703cd613f84e90826f159bd55dd72f0b4c652
1,637
NamshiCreditCardInput
MIT License
app/src/main/java/com/abdallah_abdelazim/loadapp/widget/loading_button/ButtonState.kt
Abdallah-Abdelazim
606,567,088
false
null
package com.abdallah_abdelazim.loadapp.widget.loading_button sealed interface ButtonState { object Idle : ButtonState object Clicked : ButtonState object Completed : ButtonState }
0
Kotlin
0
1
3cf8407e9e894cbe52ee396eaaf29a864de7e331
195
nd940-app-loading-status-android
MIT License
app/src/main/java/com/furkansubasiay/themovie/data/model/MovieNetworkEntity.kt
furkansubasiay
348,022,047
false
null
package com.furkansubasiay.themovie.data.model import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName /** * Created by <NAME> on 12.03.2021. */ data class MovieNetworkEntity( @SerializedName("adult") @Expose val adult: Boolean?, @SerializedName("backdrop_path") @Expose ...
0
Kotlin
0
1
4138c10d7d5f42b7ffca7924601d2aee9f7f0cc8
1,134
TheMovieApp
Apache License 2.0
app/src/main/java/com/example/githubperson/ui/favorite_ui/FavoriteContract.kt
barimans
286,974,438
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 66, "XML": 52, "Java": 1, "JSON": 1}
package com.example.githubperson.ui.favorite_ui import android.content.Context import com.example.githubperson.data.db.entity.UsersFavEntity interface FavoriteContract { interface View{ fun observeLoading(isLoading: Boolean?) fun observeError(error: Throwable?) fun observeFavoriteUsers(...
0
Kotlin
0
0
361ac200f21933d0801f881486da6ea379b03f28
480
GithubApp-MVVM-Dagger2
Apache License 2.0
threadexecutor-sample/src/main/kotlin/com/threadexecutor/sample/MainActivity.kt
ppamorim
52,739,309
false
null
/* * Copyright (C) 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, so...
1
Kotlin
3
24
2616a13c0474a294e5423ab5c2deaa85a56d36ef
899
ThreadExecutor
Apache License 2.0
chess-service/src/main/kotlin/com/michibaum/chess_service/apis/chesscom/ApiServiceImpl.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.apis.chesscom import com.michibaum.chess_service.apis.* import com.michibaum.chess_service.apis.config.ChessConfigProperties import com.michibaum.chess_service.apis.dtos.AccountDto import com.michibaum.chess_service.apis.dtos.GameDto import com.michibaum.chess_service.apis.dtos.Stat...
0
Kotlin
0
1
77911b5f9d53f6630e34e3cd89b69ba277ad2b87
4,941
Microservices
Apache License 2.0
demo/plot/src/jvmBatikMain/kotlin/demo/plot/batik/plotConfig/PositionStackableBatik.kt
JetBrains
176,771,727
false
{"Kotlin": 7616680, "Python": 1299756, "Shell": 3453, "C": 3039, "JavaScript": 931, "Dockerfile": 94}
/* * Copyright (c) 2023. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package demo.plot.batik.plotConfig import demo.plot.common.model.plotConfig.PositionStackable import demo.common.batik.demoUtils.PlotSpecsDemoWindowBatik fun main() { wi...
150
Kotlin
51
1,561
c8db300544974ddd35a82a90072772b788600ac6
469
lets-plot
MIT License
ui/src/main/kotlin/team/duckie/quackquack/ui/util/constraints.kt
duckie-team
523,387,054
false
{"Kotlin": 901061, "MDX": 51559, "JavaScript": 6871, "CSS": 1060}
/* * Designed and developed by Duckie Team 2023. * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE */ package team.duckie.quackquack.ui.util import androidx.compose.runtime.Stable import androidx.compose.ui.unit.Constraints /** * 주어진 [Co...
45
Kotlin
8
99
24d44663cf5bea29fc73595b5f60be03b08e162b
736
quack-quack-android
MIT License
app/src/test/java/me/hufman/androidautoidrive/TestNotificationSettings.kt
yarickoff
312,564,433
true
{"Kotlin": 767130, "Java": 822}
package me.hufman.androidautoidrive import com.nhaarman.mockito_kotlin.* import me.hufman.androidautoidrive.carapp.notifications.NotificationSettings import me.hufman.androidautoidrive.connections.BtStatus import org.junit.Assert.* import org.junit.Test class TestNotificationSettings { val btStatus = mock<BtStatus>...
0
null
0
0
b17894a377b1ecf091f831f3ffe2bdc5cc93c6e5
3,808
AndroidAutoIdrive
MIT License
app/src/test/java/me/hufman/androidautoidrive/TestNotificationSettings.kt
yarickoff
312,564,433
true
{"Kotlin": 767130, "Java": 822}
package me.hufman.androidautoidrive import com.nhaarman.mockito_kotlin.* import me.hufman.androidautoidrive.carapp.notifications.NotificationSettings import me.hufman.androidautoidrive.connections.BtStatus import org.junit.Assert.* import org.junit.Test class TestNotificationSettings { val btStatus = mock<BtStatus>...
0
null
0
0
b17894a377b1ecf091f831f3ffe2bdc5cc93c6e5
3,808
AndroidAutoIdrive
MIT License
fourth-task/ExerciseNineteenTest.kt
Telos-Conecta
598,309,787
false
null
import org.junit.jupiter.api.Test import kotlin.test.assertEquals internal class ExerciseNineteenTest { @Test fun `Testing if the sum of the first three numbers greater the fourth`() { //Given val numberOne = 14 val numberTwo = 10 val numberThree = 10 val numberFour = 3...
0
Kotlin
0
0
c1062ec8d4f2b4e5c3ff9a61289c6d63a45ef4a2
1,218
tests-simulator-programming-logic-kotlin
Apache License 2.0
src/main/kotlin/me/sd_master92/customvoting/gui/buttons/switches/MilestoneBroadcastSwitch.kt
sanderderks
306,723,396
false
{"Kotlin": 411121}
package me.sd_master92.customvoting.gui.buttons.switches import me.sd_master92.customvoting.CV import me.sd_master92.customvoting.constants.enumerations.PMessage import me.sd_master92.customvoting.constants.enumerations.Setting import me.sd_master92.customvoting.gui.buttons.abstracts.AbstractWoolStatusSwitch import or...
17
Kotlin
2
0
6174e8b8a4ac73283b717f258c61b85ac6f6fe08
647
CustomVoting
MIT License
src/main/kotlin/io/kungfury/coworker/dbs/TextSafety.kt
SecurityInsanity
145,881,173
false
{"XML": 1, "Maven POM": 4, "Markdown": 19, "Text": 1, "Ignore List": 1, "YAML": 4, "Shell": 6, "Kotlin": 35, "Java": 16, "SQL": 2, "HTML": 1}
package io.kungfury.coworker.dbs /** * Utilities related to ensuring untrusted input doesn't lead to SQLi when parametrized input can't be used. */ object TextSafety { private val SAFE_REGEX = Regex("[^A-Za-z0-9]") private val SAFE_DASH_REGEX = Regex("[^A-Za-z0-9-]") /** * Ensures a string is safe,...
5
Kotlin
2
30
03a70e760294115a9f9fccf90d0cafede1a02319
744
Coworker
MIT License
src/main/kotlin/io/kungfury/coworker/dbs/TextSafety.kt
SecurityInsanity
145,881,173
false
{"XML": 1, "Maven POM": 4, "Markdown": 19, "Text": 1, "Ignore List": 1, "YAML": 4, "Shell": 6, "Kotlin": 35, "Java": 16, "SQL": 2, "HTML": 1}
package io.kungfury.coworker.dbs /** * Utilities related to ensuring untrusted input doesn't lead to SQLi when parametrized input can't be used. */ object TextSafety { private val SAFE_REGEX = Regex("[^A-Za-z0-9]") private val SAFE_DASH_REGEX = Regex("[^A-Za-z0-9-]") /** * Ensures a string is safe,...
5
Kotlin
2
30
03a70e760294115a9f9fccf90d0cafede1a02319
744
Coworker
MIT License
src/main/java/nextstep/subway/auth/application/AuthService.kt
just-hazard
407,830,124
false
{"SCSS": 108481, "Kotlin": 66945, "Vue": 63508, "JavaScript": 23902, "Java": 1995, "HTML": 1000}
package nextstep.subway.auth.application import nextstep.subway.member.domain.MemberRepository import nextstep.subway.auth.infrastructure.JwtTokenProvider import nextstep.subway.auth.dto.TokenRequest import nextstep.subway.auth.dto.TokenResponse import nextstep.subway.auth.application.AuthorizationException import nex...
0
SCSS
0
0
3c64c2cba5fe7f99f99835d16ebdd88fb397ad7e
1,268
kotlin-subway-service
MIT License
pumpkin-nbt/src/main/kotlin/pumpkin/nbt/util/types.kt
ItsDoot
224,063,495
false
null
package pumpkin.nbt.util internal val Any?.nullableTypeName: String get() = if (this == null) "<unknown>" else this::class.java.name ?: "<unknown>"
0
Kotlin
1
1
afa6c39fc722f616ee8410b325a402b92994082f
148
pumpkin
MIT License
codec/src/main/kotlin/uk/tvidal/kraft/codec/json/adapter/RaftNodeAdapter.kt
tvidal-net
99,751,401
false
null
package uk.tvidal.kraft.codec.json.adapter import com.google.gson.TypeAdapter import com.google.gson.stream.JsonReader import com.google.gson.stream.JsonWriter import uk.tvidal.kraft.RaftNode import uk.tvidal.kraft.codec.json.nullable class RaftNodeAdapter : TypeAdapter<RaftNode>() { override fun write(writer: J...
1
Kotlin
0
0
9cfca67330b27c1f2f834dc430d3a369d2538255
561
kraft
MIT License
twitter4j-v2-support/src/main/kotlin/twitter4j/Media.kt
takke
280,848,830
false
null
package twitter4j sealed class Media { abstract val mediaKey: MediaKey abstract val type: Type // cast val asPhoto: Photo get() = this as Photo val asAnimatedGif: AnimatedGif get() = this as AnimatedGif val asVideo: Video get() = this as Video enum class Type { Photo, Ani...
4
Kotlin
8
43
ad91ba9ca9e86103643d6d2ed5ac042343eaf190
2,876
twitter4j-v2
Apache License 2.0
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/stories/methods/StoriesHideReplyMethod.kt
alatushkin
156,866,851
false
null
package name.alatushkin.api.vk.generated.stories.methods import com.fasterxml.jackson.core.type.TypeReference import name.alatushkin.api.vk.VkMethod import name.alatushkin.api.vk.api.VkSuccess /** * Hides the reply to the current user's story. * * [https://vk.com/dev/stories.hideReply] * @property [owner_id] I...
2
Kotlin
3
10
123bd61b24be70f9bbf044328b98a3901523cb1b
1,425
kotlin-vk-api
MIT License
app/src/main/java/com/veriff/sample/feature/text/TextRecFragment.kt
anil-gudigar
376,609,649
false
null
package com.veriff.sample.feature.text import android.graphics.Bitmap import android.net.Uri import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.activity.result.contract.ActivityResultCont...
0
Kotlin
0
0
aaac418bd0f1277c86c643c95aedbecdd6a68be9
5,032
veriff-sdk
Apache License 2.0
app/src/main/java/com/devkazonovic/projects/justdoit/presentation/tasks/ui/FormNewCategoryFragment.kt
DevKazonovic
368,112,387
false
null
package com.devkazonovic.projects.justdoit.presentation.tasks.ui import android.app.Dialog import android.content.DialogInterface import android.os.Bundle import androidx.fragment.app.DialogFragment import androidx.fragment.app.viewModels import com.devkazonovic.projects.justdoit.R import com.devkazonovic.projects.jus...
0
Kotlin
0
2
9f5d975688c164f2f4fff42e82c930f910d352f6
2,632
JustDoIt
MIT License
validable/src/test/java/tech/devscast/validable/NegativeOrZeroValidableTest.kt
devscast
433,571,968
false
{"Kotlin": 52473, "Shell": 41}
package tech.devscast.validable import org.junit.Assert import org.junit.Before import org.junit.Test class NegativeOrZeroValidableTest { lateinit var validable: NegativeOrZeroValidable @Before fun setUp() { validable = NegativeOrZeroValidable() validable.enableShowErrors() } @T...
0
Kotlin
5
31
6dd7f692de02bbae4fcfe18f088a3d1ae9d18321
948
validable
Apache License 2.0
korge/src/commonTest/kotlin/com/soywiz/korge/animate/AnimatorTest.kt
RezMike
245,256,664
true
{"Kotlin": 1902450, "Java": 182026, "Shell": 1955, "Batchfile": 1618}
package com.soywiz.korge.animate import com.soywiz.korge.tests.ViewsForTesting import com.soywiz.korge.view.solidRect import com.soywiz.korim.color.Colors import kotlin.test.Test import kotlin.test.assertEquals class AnimatorTest : ViewsForTesting() { @Test fun test() = viewsTest { val view = solidRe...
0
Kotlin
0
0
7516f754ecdb4ea8dce3c7b1a14ee2b07e28f984
747
korge
Apache License 2.0
opendmp-processor/src/main/kotlin/io/opendmp/processor/run/RunPlanRouteBuilder.kt
rhinoman
266,865,791
false
null
/* * Copyright (c) 2020. James Adam and the Open Data Management Platform contributors. * * 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 ...
6
Kotlin
5
27
c7f36699647c6c4952e069d062099efe12e9b179
11,197
odmp
Apache License 2.0
src/main/kotlin/com/odim/simulator/tree/structure/ActionElement.kt
ODIM-Project
355,910,204
false
null
/* * Copyright (c) Intel Corporation * * 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 agree...
1
Kotlin
0
7
7e8a3030ca83c040678f8edf76def588b2b01cca
1,008
BMCSimulator
Apache License 2.0
curtains/src/androidTest/java/curtains/test/CurtainsRootViewsTest.kt
square
335,059,626
false
{"Kotlin": 82170, "Java": 5250}
package curtains.test import androidx.test.core.app.ActivityScenario import com.google.common.truth.Truth.assertThat import curtains.Curtains import curtains.test.utilities.TestActivity import curtains.test.utilities.getOnMain import org.junit.Test class CurtainsRootViewsTest { @Test fun no_root_views_when_no_activ...
3
Kotlin
30
578
889dc1e9ac259b742c17c33a72f513f25e384299
675
curtains
Apache License 2.0
src/main/kotlin/me/aberrantfox/hotbot/commandframework/parsing/CommandParsing.kt
swinxz
128,273,903
true
{"Kotlin": 203177, "JavaScript": 4403, "Java": 935}
package me.aberrantfox.hotbot.commandframework.parsing import me.aberrantfox.hotbot.dsls.command.Command import me.aberrantfox.hotbot.dsls.command.arg import me.aberrantfox.hotbot.services.Configuration data class CommandStruct(val commandName: String, val commandArgs: List<String> = listOf()) fun cleanCommandMessa...
0
Kotlin
0
0
12953d03ab7a89fb039e27dd17745cd35aaabe94
1,695
hotbot
MIT License