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
composeApp/src/commonMain/kotlin/io/github/snd_r/komelia/ui/common/itemlist/BookLists.kt
Snd-R
775,064,249
false
null
package io.github.snd_r.komelia.ui.common.itemlist import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx....
0
null
0
2
a2acfae425fa125596f7fd531396ea8725fb1e9e
3,474
Komelia
Apache License 2.0
odinmain/src/main/kotlin/me/odinmain/features/impl/dungeon/puzzlesolvers/BlazeSolver.kt
odtheking
657,580,559
false
{"Kotlin": 804974, "Java": 94245, "GLSL": 7311}
package me.odinmain.features.impl.dungeon.puzzlesolvers import me.odinmain.OdinMain.mc import me.odinmain.utils.noControlCodes import me.odinmain.utils.render.Color import me.odinmain.utils.render.RenderUtils.renderBoundingBox import me.odinmain.utils.render.Renderer import me.odinmain.utils.skyblock.dungeon.DungeonUt...
1
Kotlin
7
28
5fb0517198ec5b411534cab16644091365f1ffd8
1,839
OdinClient
MIT License
app/src/main/java/com/xhand/hnu/components/SwitchTerm.kt
JiaLiFuNia
766,049,840
false
{"Kotlin": 430635}
package com.xhand.hnu.components fun longToShort(xq: String): String { return if (xq.length == 6) { "${xq.substring(0, 4)}-${xq.substring(0, 4).toInt() + 1}-${xq.last()}" } else "${xq.substring(0, 4)}0${xq.last()}" }
1
Kotlin
0
4
f1f85cabe198473ff3ea0816b137a73718ff917e
241
SmartHNU
MIT License
foundation/instrumented-test/src/main/kotlin/ru/pixnews/foundation/instrumented/test/di/InstrumentedTestInjector.kt
illarionov
305,333,284
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
2
8912bf1116dd9fe94d110162ff9a302e93af1509
837
Pixnews
Apache License 2.0
vico/core/src/main/java/com/patrykandpatrick/vico/core/cartesian/CartesianLayerPadding.kt
patrykandpatrick
338,848,755
false
{"Kotlin": 654342, "CSS": 166}
/* * Copyright 2024 by Patryk Goworowski and Patrick Michalik. * * 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 ...
12
Kotlin
128
2,114
8dc63a34dbf8448da4b06a88d3cb3100a646a28b
1,910
vico
Apache License 2.0
app/src/main/java/com/nivelais/combiplanner/app/ui/modules/settings/create_category/CreateCategoryViewModel.kt
KONFeature
320,094,280
false
null
/* * Copyright 2020-2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
1
623fe6481d3384c91a10fa8e7e42a2f2a273d186
3,906
CombiPlanner
Apache License 2.0
kouchlin-jackson/src/test/kotlin/org/kouchlin/test/jackson/JacksonAttachmentMockTest.kt
kouchlin
123,031,322
false
{"Kotlin": 175692}
/* * Copyright 2018 Kouchlin 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 applicable law or agree...
0
Kotlin
2
4
8e37b7571a5fce296d9bd40b001644f567b3c415
1,091
kouchlin
Apache License 2.0
app/src/main/java/com/xplorer/projectx/api/GooglePhotoApi.kt
breel93
232,095,585
false
null
/** * Designed and developed by ProjectX * * 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 ...
0
Kotlin
0
5
c2f457823720d48847726afcaa6eb20e66a5fe39
966
ProjectX
Apache License 2.0
src/vi/yurineko/src/eu/kanade/tachiyomi/extension/vi/yurineko/dto/MiscDto.kt
komikku-app
720,497,299
false
null
package eu.kanade.tachiyomi.extension.vi.yurineko.dto import kotlinx.serialization.Serializable @Serializable data class ErrorResponseDto( val message: String? = null, ) @Serializable data class UserDto( val id: Int, val name: String, val email: String, val avatar: String, val role: Int, ...
9
null
99
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
434
komikku-extensions
Apache License 2.0
folding-plugins/folding-light-transpiler-kotlin/src/main/kotlin/foldingx/lighttranspiler/kotlin/gradle/LightTranspilerKtPluginTask.kt
folding-lang
512,441,839
false
{"Kotlin": 657713}
package foldingx.lighttranspiler.kotlin.gradle import org.gradle.api.DefaultTask abstract class LightTranspilerKtPluginTask : DefaultTask() { override fun getGroup(): String = "fd light-transpiler kotlin" }
4
Kotlin
0
7
dcdbaeecf1eb4bd97ea779b4bec8105887375398
212
folding
MIT License
src/main/kotlin/com/mattmx/ktgui/examples/ConfigScreenExample.kt
Matt-MX
530,062,987
false
{"Kotlin": 136102, "Java": 2680}
package com.mattmx.ktgui.examples import com.mattmx.ktgui.components.button.* import com.mattmx.ktgui.components.screen.GuiScreen import com.mattmx.ktgui.extensions.color import com.mattmx.ktgui.item.ItemBuilder import org.bukkit.Material class ConfigScreenExample : GuiScreen("Example Config", 3) { init { ...
1
Kotlin
2
13
93e4848dd8546e2e92fe14467986f85995f4362a
4,001
KtBukkitGui
Apache License 2.0
app/src/main/java/org/simple/clinic/instantsearch/InstantSearchUpdate.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.instantsearch import com.spotify.mobius.Next import com.spotify.mobius.Next.dispatch import com.spotify.mobius.Next.noChange import com.spotify.mobius.Update import org.simple.clinic.instantsearch.InstantSearchValidator.Result.Empty import org.simple.clinic.instantsearch.InstantSearchValidato...
13
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
7,913
simple-android
MIT License
src/Utils.kt
GarrettShorr
571,769,671
false
null
import java.awt.Toolkit import java.awt.datatransfer.StringSelection import java.io.File import java.math.BigInteger import java.security.MessageDigest /** * Reads lines from the given input txt file. */ fun readInput(name: String) : List<String> { val file = File("src", "$name.txt") if(!file.exists()) { ...
0
Kotlin
0
0
391336623968f210a19797b44d027b05f31484b5
1,422
AdventOfCode2022
Apache License 2.0
MobileApp/app/src/main/java/com/ivoafsilva/mobiweb/mobileapp/MainActivity.kt
iafsilva
847,307,039
false
{"Kotlin": 34845}
package com.ivoafsilva.mobiweb.mobileapp import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import com.ivoafsilva.mobiweb.mobileapp.common.AndroidLogger import com.ivoafsilva.mobiweb.mobileapp.ui.theme.MobileAppTheme...
0
Kotlin
0
1
0d7ec1185f3a4dc0c339f4c343bc98e9b080db90
889
mobiweb-challenge
MIT License
composeApp/src/androidMain/kotlin/AndroidNativeDIConatiner.kt
ParkJong-Hun
794,024,590
false
{"Kotlin": 78803, "Swift": 594}
import com.google.android.gms.location.FusedLocationProviderClient import com.google.android.gms.location.LocationServices import dev.icerock.moko.permissions.PermissionsController import org.koin.android.ext.koin.androidContext import org.koin.dsl.module val androidNativeDIContainer = module { single<PermissionsC...
4
Kotlin
0
2
2e864a8c4207077dab07a053145e0586399417d8
530
compose-multiplatform-test-airfield
Apache License 2.0
privacy-protections-popup/privacy-protections-popup-impl/src/main/java/com/duckduckgo/privacyprotectionspopup/impl/PrivacyProtectionsPopupFeature.kt
duckduckgo
78,869,127
false
{"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784}
/* * Copyright (c) 2023 DuckDuckGo * * 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 ...
67
Kotlin
901
3,823
6415f0f087a11a51c0a0f15faad5cce9c790417c
1,233
Android
Apache License 2.0
src/main/java/com/ecwid/maleorang/method/v3_0/eCommerceStores/carts/GetCartMethod.kt
nikolai-tenev
70,156,034
true
{"Kotlin": 101475, "Java": 18725}
package com.ecwid.maleorang.method.v3_0.eCommerceStores.carts import com.ecwid.maleorang.MailchimpMethod import com.ecwid.maleorang.annotation.* /** * [Get information about a specific cart](http://developer.mailchimp.com/documentation/mailchimp/reference/ecommerce/stores/carts/#read-get_ecommerce_stores_store_id_ca...
0
Kotlin
0
0
ce61feb7567d4364e9daa7156b3553ef4e07b54d
789
maleorang
Apache License 2.0
spring-boot/API cliente - Yan/src/main/kotlin/sptech/projetojpa1/repository/AgendamentoRepository.kt
kronos-agendamento
758,290,087
false
{"Kotlin": 2098852, "HTML": 258445, "CSS": 152170, "JavaScript": 106252}
package sptech.projetojpa1.repository import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Query import org.springframework.data.repository.query.Param import org.springframework.stereotype.Repository import sptech.projetojpa1.dominio.Agendamento import java.util....
1
Kotlin
1
2
cc1277c6f6e6f97494ddeab8b61295cbacd94d56
603
projeto-teste
MIT License
demo-firebase/src/main/java/com/demo/auth/firebase/ui/profile/RecoveryPasswordViewModel.kt
alexklab
161,796,619
false
{"Gradle": 11, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 3, "Proguard": 9, "Kotlin": 149, "XML": 53, "Java": 11}
package com.demo.auth.firebase.ui.profile import com.android.arch.auth.core.common.EmailFieldValidator import com.android.arch.auth.core.domain.auth.AuthResponseListenerUseCase import com.android.arch.auth.core.domain.auth.RecoveryPasswordUseCase import com.android.arch.auth.core.model.RecoveryPasswordViewModel import...
1
null
1
1
bd310bc16dfa2a87a368a9ffcc6d7cafb1f77991
952
android-auth-pack
Apache License 2.0
app/src/main/java/de/dhbw/mensaapp/api/MenuRepositoryManager.kt
SteveBinary
621,552,225
false
null
package de.dhbw.mensaapp.api import android.net.ConnectivityManager import android.util.Log import de.dhbw.mensaapp.api.dto.toOrders import de.dhbw.mensaapp.api.repository.MenuRepository import de.dhbw.mensaapp.database.menu.MenuDatabaseManager import de.dhbw.mensaapp.model.AppSettings import de.dhbw.mensaapp.model.me...
0
Kotlin
0
1
5e581880c96c54b0b20b2bb85e0c13c46157a822
5,593
mensa-app
MIT License
android/app/src/main/kotlin/com/example/taxi_app/MainActivity.kt
the-veloper
425,092,408
true
{"Dart": 87666, "Ruby": 3329, "Shell": 572, "Swift": 495, "Kotlin": 125, "Objective-C": 37}
package com.example.taxi_app import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
0faa1dc6e9689a784828bdd1e2382a0e490f95fb
125
Taxi-App
MIT License
app/src/main/kotlin/app/lawnchair/lawnicons/ui/components/home/PlaceholderUI.kt
LawnchairLauncher
423,607,805
false
{"Kotlin": 256343, "Python": 16278, "JavaScript": 6611}
/* * Copyright 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
32
Kotlin
459
1,355
d126cb719b82a0ccebf7fe5295019356ec3df70b
6,565
lawnicons
Apache License 2.0
LokileCrypt/src/main/java/com/lokile/encrypter/encrypters/imp/EncrypterError.kt
lokile
503,819,300
false
{"Kotlin": 48029}
package com.lokile.encrypter.encrypters.imp enum class EncrypterError { ENCRYPT_ERROR, DECRYPT_ERROR }
0
Kotlin
1
6
7652e004bffc1022e6f0fdbb2103a4240d5a2955
111
LokileCrypt
Apache License 2.0
koma-core-api/common/src/koma/creators.kt
peastman
152,666,333
true
{"Kotlin": 571315, "Shell": 623}
@file:koma.internal.JvmName("Koma") @file:koma.internal.JvmMultifileClass package koma import koma.extensions.fill import koma.internal.KomaJsName import koma.matrix.Matrix import koma.matrix.MatrixTypes import koma.matrix.MatrixType import koma.ndarray.NDArray /** * This file defines a set of functions to create n...
0
Kotlin
0
0
1bf16d7a93413e94270a0efd41a89db9cc4c6b09
7,089
koma
Apache License 2.0
src/main/kotlin/com/kotlinplayground/oop/Course.kt
AlexoAnimaIgnis
537,733,920
false
{"Kotlin": 15325}
package com.kotlinplayground.oop data class Course( val id: Int, val name: String, val author: String ) fun main() { val course = Course(1, "Test", "Test") println(course) val course1 = Course(1, "Test", "Test") println("Object equality: ${course == course1}") var course3 = course1.co...
0
Kotlin
0
1
16ffb23789f9b739a20a6fad03dcaa314da780cf
379
kotlin-intro
Apache License 2.0
src/main/kotlin/no/acntech/kollectiveq/persistence/DefaultFilterRepository.kt
acntech
778,266,299
false
null
package no.acntech.kollectiveq.persistence import jakarta.persistence.EntityManager import no.acntech.kollectiveq.Filter import no.acntech.kollectiveq.Pagination import no.acntech.kollectiveq.Sorting import no.acntech.kollectiveq.jpql.JPQLTransformationFilterVisitor import no.acntech.kollectiveq.jpql.JPQLTransformatio...
0
null
0
2
50aa08a98310d2e0232b2cfcca38797957430ef9
5,352
kollective-query
Apache License 2.0
memo/src/main/kotlin/com/mistar/memo/domain/model/repository/RefreshTokenRepository.kt
mike-urssu
354,238,895
false
{"Kotlin": 64000}
package com.mistar.memo.domain.model.repository import com.mistar.memo.domain.model.entity.user.RefreshToken import org.springframework.data.repository.CrudRepository import org.springframework.stereotype.Repository @Repository interface RefreshTokenRepository : CrudRepository<RefreshToken, Int>
0
Kotlin
0
0
ef28332a40a9b8f8422456d3ffaa97f20cdfaf62
298
memo-incubating
Apache License 2.0
app/src/main/java/com/yusuf/cryptocurrencytrading/ui/mainScreens/FavouriteCoinsFragment.kt
Yusuf-Solmaz
740,444,429
false
{"Kotlin": 125205}
package com.yusuf.cryptocurrencytrading.ui.mainScreens import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.ViewModelProvider import androidx.recyclerview.widget.LinearL...
0
Kotlin
0
0
7e94ab8a8646f124d5425b2a5bffd54661165710
3,275
CoinCrafter
Apache License 2.0
app/src/main/java/com/phil/airinkorea/ui/commoncomponent/CommonContentTitle.kt
wonhaeseong
574,473,916
false
null
package com.phil.airinkorea.ui.commoncomponent import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.AnimatedVisibilityScope import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compo...
1
null
0
1
50fae8681ce13553ead211eb88dc0aef1356bc07
1,563
AirInKorea
Apache License 2.0
app/src/main/java/com/kyberswap/android/presentation/main/balance/send/ContactAdapter.kt
KYRDTeam
181,612,742
false
null
package com.kyberswap.android.presentation.main.balance.send import android.os.Handler import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.DiffUtil import com.daimajia.swipe.SimpleSwipeListener import com.daimajia.swipe.SwipeL...
1
Kotlin
10
26
abd4ab033d188918849e5224cc8204409776391b
3,138
android-app
MIT License
shared/features/home/src/commonMain/kotlin/com/dee/home/upmovies/data/UpcomingMoviesApiService.kt
deeheinhtet
776,096,363
false
{"Kotlin": 98395, "Swift": 15749}
package com.dee.home.upmovies.data import com.dee.appcommon.Constants.API_KEY import com.dee.appcommon.Constants.QUERY_API_KEY import com.dee.appcommon.Constants.QUERY_LANGUAGE import com.dee.appcommon.Constants.QUERY_PAGE import com.dee.network.NetworkResult import com.dee.network.safeRequest import io.ktor.client.H...
0
Kotlin
5
44
460fa93dae6162332280c1a515e2875a6efbf599
1,044
TheMovie
MIT License
src/main/kotlin/com/leetcode/P88.kt
antop-dev
229,558,170
false
{"Maven POM": 1, "Text": 4, "Ignore List": 1, "Markdown": 1, "Java": 233, "Kotlin": 832, "Python": 10}
package com.leetcode // https://leetcode.com/problems/merge-sorted-array/ class P88 { fun merge(nums1: IntArray, m: Int, nums2: IntArray, n: Int) { var i = m - 1 var k = n - 1 for (p in nums1.lastIndex downTo 0) { nums1[p] = when { i == -1 -> nums2[k--] ...
2
Kotlin
0
0
a9dd7cfa4f6cfc5186a86f6e2c8aefc489f5c028
457
algorithm
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Microscope.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.twotone import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,854
VuesaxIcons
MIT License
react-kotlin/src/jsMain/kotlin/react/dom/html/Unselectable.kt
karakum-team
393,199,102
false
{"Kotlin": 6149331}
// Automatically generated - do not modify! @file:Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) package react.dom.html // language=JavaScript @JsName("""(/*union*/{on: 'on', off: 'off'}/*union*/)""") sealed external interface Unselectable { companion object { va...
0
Kotlin
6
26
188d780966c530ed7385f81248ebac5e5abcc40b
377
types-kotlin
Apache License 2.0
core/src/main/java/com/aba/core/data/datasource/dao/JobDao.kt
anbioc
247,642,230
false
{"Gradle": 19, "INI": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Groovy": 1, "Markdown": 1, "Kotlin": 105, "XML": 64, "Java": 8, "Proguard": 3, "PureBasic": 1}
package com.aba.core.data.datasource.dao import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.aba.core.BuildConfig import com.aba.core.data.model.JobItem @Dao interface JobDao { @Insert(onConflict = OnConflictStrategy.REPLACE) susp...
0
Kotlin
0
2
d48bbf066eadd135a45a415c0f1babeac3aee539
630
CleanMVVMCoroutine
Apache License 2.0
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Grubhub.kt
DevSrSouza
311,134,756
false
null
package compose.icons.simpleicons 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 impor...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
15,450
compose-icons
MIT License
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Grubhub.kt
DevSrSouza
311,134,756
false
null
package compose.icons.simpleicons 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 impor...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
15,450
compose-icons
MIT License
src/main/kotlin/be/kunlabora/crafters/wedding/web/ui/components/NavBar.kt
Sch3lp
829,131,357
false
{"Kotlin": 37998, "HCL": 14977, "Shell": 959}
package be.kunlabora.crafters.wedding.web.ui.components import be.kunlabora.crafters.wedding.service.domain.Assignee import be.kunlabora.crafters.wedding.web.ui.WeddingTheme import be.kunlabora.crafters.wedding.web.ui.components.Htmx.hxPost import kotlinx.html.* object NavBar { fun FlowContent.navbar(currentTheme...
0
Kotlin
0
0
2dd0fdff193def58b851f26c9ccb9307336e2af2
1,564
wedding-challenge
MIT License
backend/src/main/kotlin/com/nicolaspetras/splfantasy/api/SplFantasyApi.kt
npetras
385,915,477
false
null
package com.nicolaspetras.splfantasy.api import com.nicolaspetras.splfantasy.SplFantasyManager import com.nicolaspetras.splfantasy.model.draft.FantasyTeamPicks import com.nicolaspetras.splfantasy.model.SmiteRole import com.nicolaspetras.splfantasy.model.SplPlayer import com.nicolaspetras.splfantasy.model.SplTeamName i...
0
Kotlin
0
0
ea6dd35ab3a07bf188d5e07ea9d9e8b77656544c
3,563
smite-fantasy-league
MIT License
src/ie/murph/objects/Delegation/Tax/ObservableDelegateTaxRate.kt
Mur3ph
65,215,707
false
null
package ie.murph.objects.delegation.Tax import kotlin.properties.Delegates /** * Created by Paul on 9/16/2016. */ class ObservableDelegateTaxRate { // The "d" seems to be the observable object property var value: Float by Delegates.observable(18.5f){ d, oldTaxRate, newTaxRate -> println("Rat...
0
Kotlin
0
0
9b7bdfe33b1a05aa79c625c9d46cfc19fa99c2d6
391
Kotlin101
Apache License 2.0
project/jimmer-sql-kotlin/src/main/kotlin/org/babyfish/jimmer/sql/kt/loader/impl/KListLoaderImpl.kt
babyfish-ct
488,154,823
false
{"Java": 7622268, "Kotlin": 1433079, "ANTLR": 8333, "HTML": 6982, "Shell": 1027}
package org.babyfish.jimmer.sql.kt.loader.impl import org.babyfish.jimmer.sql.loader.graphql.FilterableListLoader import org.babyfish.jimmer.sql.ast.table.Table import org.babyfish.jimmer.sql.kt.loader.KListLoader import org.babyfish.jimmer.sql.kt.fetcher.KFieldFilterDsl import org.babyfish.jimmer.sql.kt.fetcher.impl....
13
Java
72
725
873f8405a268d95d0b2e0ff796e2d0925ced21e7
1,303
jimmer
Apache License 2.0
kotlin/src/_0020.kt
yunshuipiao
179,794,004
false
null
import org.testng.annotations.Test fun isValid(s: String): Boolean { val map = hashMapOf('(' to ')', '{' to '}', '[' to ']') val result = ArrayList<Char>() for (c in s) { println(c) if (c in map.keys) { result.add(c) } else { if (result.isEmpty() || map[resu...
29
Kotlin
0
2
6b188a8eb36e9930884c5fa310517be0db7f8922
607
rice-noodles
Apache License 2.0
app/src/main/java/com/github/bassaer/simplemvp/counter/CounterActivity.kt
bassaer
172,488,461
false
null
package com.github.bassaer.simplemvp.counter import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.github.bassaer.simplemvp.R import com.github.bassaer.simplemvp.data.source.local.UserDatabase import com.github.bassaer.simplemvp.data.source.local.UserLocalDataSource import com.github.bass...
1
Kotlin
0
0
c1838d1e72dc5ce8be523d8baad4bd080b8a6a60
1,249
SimpleMVP
Apache License 2.0
src/test/kotlin/com/ky_proj/spjplugin/folding/FoldingBuilderTestCase.kt
fisherman08
117,972,344
false
{"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Markdown": 1, "INI": 1, "Java": 50, "Kotlin": 93, "XML": 3, "JFlex": 2}
package com.ky_proj.spjplugin.folding import com.intellij.openapi.fileEditor.FileDocumentManager import com.ky_proj.spjplugin.SpjTestCase import org.junit.Before import org.junit.Test /** * Created on 2018/08/14. */ class FoldingBuilderTestCase :SpjTestCase(){ override fun getTestDataPath(): String { re...
2
Kotlin
0
0
bf810f3da13bc7f41e332896cb304c5e08e06878
1,188
IntelliJ_SpjPlugin
MIT License
presentation/src/robolectricTest/kotlin/io/petros/movies/presentation/RobolectricTestProvider.kt
fattakbar
240,550,626
true
{"Kotlin": 135603}
package io.petros.movies.presentation import androidx.test.core.app.ApplicationProvider class RobolectricTestProvider { companion object { internal fun provideContext() = ApplicationProvider.getApplicationContext<TestApp>() } }
0
null
0
0
a484179575d6bfa61795550ab28c19af3577c091
250
sample-code-movies
Apache License 2.0
src/main/kotlin/io/github/mjmoore/model/Santa.kt
mjmoore
567,666,231
false
{"Kotlin": 5777}
package io.github.mjmoore.model import io.github.mjmoore.config class Santa( val person: Person, var receivers: List<Person> = emptyList() ) { fun isValid(): Boolean = receivers.size == config.maxSantasPerPerson }
2
Kotlin
1
0
fc235cec99da6280f4ce1bc321cd990960c8223a
228
secret-santa
MIT License
demo-modalsheet/src/desktopMain/kotlin/Main.kt
composablehorizons
792,741,661
false
{"Kotlin": 448181, "HTML": 4427, "Shell": 2331, "Swift": 538}
package com.composables.core.demo import androidx.compose.ui.window.singleWindowApplication fun main() = singleWindowApplication( title = "Compose Unstyled", ) { ModalBottomSheetDemo() }
4
Kotlin
12
347
a0ad4da77edf38bbbb0d89f834f7255671b65167
196
compose-unstyled
MIT License
library/src/main/java/com/meetferrytan/skeletonplaceholderview/RectBone.kt
ferrytan
133,458,236
false
null
package com.meetferrytan.skeletonplaceholderview import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import androidx.annotation.ColorInt import androidx.annotation.IdRes /** * [Bone] with rectangle shape. * * @property rect the bone's [Rect] * @property cornerRadius the bone'...
1
Kotlin
2
26
b576954cfb43c8fcc7baba0ed7acd61ead16c139
2,867
SkeletonPlaceholderView
Apache License 2.0
src/main/java/io/github/redstoneparadox/journia/shape/EllipsisShapeProviderConfig.kt
RedstoneParadox
230,316,902
false
null
package io.github.redstoneparadox.journia.shape class EllipsisShapeProviderConfig( val widthRange: IntRange, val heightRange: IntRange ): ShapeProviderConfig
1
Kotlin
1
2
905d6f2295642e5970049595bfba7aa091db53ab
166
Journia
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/pdf/core/RecoveryCertificateDrawHelper.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.covidcertificate.pdf.core import android.graphics.Canvas import android.graphics.Paint import android.graphics.Typeface import de.rki.coronawarnapp.covidcertificate.recovery.core.RecoveryCertificate import javax.inject.Inject import de.rki.coronawarnapp.covidcertificate.pdf.core.Certificat...
2
null
516
2,493
aa450b97e701f6481019681cc6f5a03b7dcc6e86
1,656
cwa-app-android
Apache License 2.0
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/sessions/LLFirSessionCache.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.low.level.api.fir.sessions import com.intellij.openapi.project.Project ...
154
null
5566
45,025
8a69904d02dd3e40fae5f2a1be4093d44a227788
5,477
kotlin
Apache License 2.0
plugins/kotlin/jvm-debugger/base/util/src/org/jetbrains/kotlin/idea/debugger/base/util/DexDebugFacility.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.debugger.base.util import com.intellij.debugger.engine.DebugProcess import com.intellij.debugger.jdi.VirtualMachineProxyImpl import com.sun.jdi.VirtualMachine obj...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
684
intellij-community
Apache License 2.0
socketServer/src/main/java/SocketServer.kt
jarekczek
132,174,510
false
{"Java": 3246, "Kotlin": 1055}
import java.net.InetSocketAddress import java.net.ServerSocket class SocketServer { } fun main(args: Array<String>) { println("heelo") val socket = ServerSocket(12000) while (true) { val socket = socket.accept()!! println("new connection from " + socket.port) InputStreamPrinter(socket.getInputStrea...
1
null
1
1
86a4ca8e660fc5d51d8bff34a700427724fe5481
485
simpleJavaMisc
MIT License
app/src/main/java/com/zj/example/dagger2/example5/Example5Presenter.kt
zhengjiong
106,264,089
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 128, "XML": 20, "Java": 6}
package com.zj.example.dagger2.example5 import com.zj.example.dagger2.example5.contract.Example5Contract import com.zj.example.dagger2.example5.data.UserModle import javax.inject.Inject /** * Created by zhengjiong * date: 2017/10/15 21:09 */ class Example5Presenter @Inject constructor(val userModle: UserModle, val...
0
Kotlin
0
0
3cfd16bbbd540a7f8f8b6bf7956d5db3d57a78c4
499
ZJ_Dagger2Example
MIT License
src/cn/ancono/math/algebra/abs/structure/finite/FiniteField.kt
140378476
105,762,795
false
null
package cn.ancono.math.algebra.abs.structure.finite import cn.ancono.math.algebra.abs.structure.Field import cn.ancono.math.algebra.abs.structure.Group import cn.ancono.math.set.FiniteSet /** * Describes a field with finite elements. * Created at 2018/11/10 13:58 * @author liyicheng */ interface FiniteField<T> ...
1
null
1
6
02c2984c10a95fcf60adcb510b4bf111c3a773bc
879
Ancono
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/presencetracing/warning/storage/TraceWarningPackage.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.presencetracing.warning.storage import de.rki.coronawarnapp.presencetracing.warning.WarningPackageId import de.rki.coronawarnapp.server.protocols.internal.pt.CheckInOuterClass import de.rki.coronawarnapp.server.protocols.internal.pt.TraceWarning interface TraceWarningPackage { val pa...
6
null
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
616
cwa-app-android
Apache License 2.0
base/src/main/java/cz/begera/bitcoin_price_chart/base/presentation/BaseInjectingFragment.kt
jakubbegera
179,819,035
false
null
package cz.begera.bitcoin_price_chart.base.presentation import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.annotation.CallSuper import androidx.annotation.LayoutRes import androidx.fragment.app.Fragment /** ...
1
Kotlin
1
4
9fbda5ed8b844087e1029eba694446f4cdbc0bec
803
Bitcoin-Price-Chart
MIT License
src/main/kotlin/com/frontleaves/greenchaincarbonledger/config/HyperLedgerFabricConfiguration.kt
carbon-ledger
766,586,691
false
{"JSON": 3, "Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "INI": 1, "Kotlin": 50, "YAML": 24, "HTML": 6, "Java": 132, "XML": 1}
/* package com.frontleaves.greenchaincarbonledger.config import org.hyperledger.fabric.gateway.* import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import java.nio.charset.StandardCharsets import java.nio.file.Files import java.nio.file.Paths */ /** * Fabri...
0
Java
0
0
e150719a39a181c0d641b11e2e35d0e78c6ad075
1,660
GreenChainCarbonLedger
MIT License
designer/src/com/android/tools/idea/uibuilder/property/inspector/InspectorUtil.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
1,084
android
Apache License 2.0
designer/src/com/android/tools/idea/uibuilder/property/inspector/InspectorUtil.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
1,084
android
Apache License 2.0
app/src/main/java/com/example/workoutapplication/RegimenDeleteFragment.kt
Xsylum
820,649,519
false
{"Kotlin": 131055}
package com.example.workoutapplication import android.app.AlertDialog import android.app.Dialog import android.content.Context import android.os.Bundle import androidx.fragment.app.DialogFragment class RegimenDeleteFragment(private val name: String): DialogFragment() { private lateinit var listener: RegimenDelet...
0
Kotlin
0
0
dd75d0394967a4acf71bc7d0d369e0ec74363a07
1,281
workout-android-app
MIT License
content-types/content-types-core-model/src/main/kotlin/org/orkg/contenttypes/domain/RosettaStoneStatement.kt
TIBHannover
197,416,205
false
{"Kotlin": 4795364, "Cypher": 219418, "Python": 4881, "Shell": 2767, "Groovy": 1936, "HTML": 240}
package org.orkg.contenttypes.domain import java.time.OffsetDateTime import org.orkg.common.ContributorId import org.orkg.common.ObservatoryId import org.orkg.common.OrganizationId import org.orkg.common.ThingId import org.orkg.graph.domain.ExtractionMethod import org.orkg.graph.domain.Thing import org.orkg.graph.doma...
0
Kotlin
0
4
da827e6332b139fb5b5994937b31eb7e85f6a5c4
2,692
orkg-backend
MIT License
feature/anime/core/source/remote/api/src/main/java/com/lelestacia/hayate/feature/anime/core/source/remote/api/dto/anime/genre/AnimeGenreDto.kt
gab-stargazer
717,145,817
false
{"Kotlin": 459698}
package com.lelestacia.hayate.feature.anime.core.source.remote.api.dto.anime.genre import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class AnimeGenreDto( @Json(name = "mal_id") val malId: Int, @Json(name = "type") val type: String?, @Jso...
0
Kotlin
0
4
892b443a225f787aa99631a3fb02fad517f7f19f
405
hayate
MIT License
src/com/aziis98/artistik/helpers/progressive.kt
aziis98
99,745,502
false
null
package com.aziis98.artistik.helpers import com.aziis98.artistik.Point import javafx.scene.image.WritableImage import javafx.scene.paint.Color import kotlin.concurrent.thread /* * Created by aziis98 on 03/08/2017. */ abstract class ProgressiveTask<A, B> { /** * Progress of the task, between 0.0 and 1.0 ...
0
Kotlin
0
0
20db6c699b61b0fc22e42820f8e891f2f036ee19
2,008
Artistik
Apache License 2.0
core/entities/src/main/java/com/devfalah/entities/Post.kt
Salmon-family
569,890,321
false
{"Kotlin": 837143}
package com.devfalah.entities data class Post( val id: Int = 0, val privacy: Boolean = false, val createdTime: Long = 0L, val content: String = "", val posterGuid: String = "", val imageUrl: String = "", val totalLikes: Int = 0, val totalComments: Int = 0, val publisher: String = ""...
11
Kotlin
19
24
7589d73a400c78ecfa94b24d87189b4f5e01de9b
624
Clubs
Apache License 2.0
client/src/commonMain/kotlin/com/algolia/client/model/personalization/SetPersonalizationStrategyResponse.kt
algolia
153,273,215
false
{"Kotlin": 1383304}
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */ package com.algolia.client.model.personalization import kotlinx.serialization.* import kotlinx.serialization.json.* /** * SetPersonal...
13
Kotlin
23
59
1c9870fe644d3cf479b331d4611c546225b62f7b
587
algoliasearch-client-kotlin
MIT License
app/src/main/java/com/ryanhtech/vocabulario/ui/quiz/QuizActivity.kt
Ryanhtech
445,900,317
false
{"Kotlin": 414071}
/* * Copyright 2021-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
0
0
0822b13273167e0db581b42ebf6f8219e8f509d7
1,835
vocabulario
Apache License 2.0
app/src/main/java/com/adafruit/glider/ui/fileexplorer/FileEditViewModel.kt
adafruit
470,265,517
false
null
package com.adafruit.glider.ui.fileexplorer /** * Created by <NAME> (<EMAIL>) */ import io.openroad.filetransfer.filetransfer.FileTransferClient import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.flow.update class FileEditViewModel : FileCommandsVie...
0
Kotlin
1
2
c60bce10b3b9f4e3ac51b467c765c3b4cddb65f5
917
Glider-for-Android
MIT License
android-nsd-rx/src/main/java/com/toxicbakery/library/nsd/rx/NsdManagerCompat.kt
ToxicBakery
111,823,512
false
null
package com.toxicbakery.library.nsd.rx import android.content.Context import android.net.nsd.NsdManager import android.net.nsd.NsdServiceInfo internal class NsdManagerCompat(private val nsdManager: NsdManager) : INsdManagerCompat { override fun registerService( serviceInfo: NsdServiceInfo, ...
1
Kotlin
4
13
f0eae7480d295220d67b8d60a076603cd18d1e99
1,330
Android-Nsd-Rx
Apache License 2.0
app/src/main/java/com/ferrariofilippo/saveapp/model/enums/AddToBudgetResult.kt
ferrariofilippo
683,187,933
false
{"Kotlin": 296498}
// Copyright (c) 2023 Filippo Ferrario // Licensed under the MIT License. See the LICENSE. package com.ferrariofilippo.saveapp.model.enums enum class AddToBudgetResult { SUCCEEDED, NOT_EXISTS, BUDGET_EMPTY, DATE_OUT_OF_RANGE }
0
Kotlin
0
1
5c8c0b39e901758312e508b425b723655e6d5914
244
SaveApp_Kotlin
MIT License
remote/src/test/java/org/healthapi/android/boilerplate/remote/mapper/Covid19StatsEntityMapperTest.kt
tanaslam
332,002,450
false
null
package org.healthapi.android.boilerplate.remote.mapper import org.healthapi.android.boilerplate.remote.test.factory.Covid19StatsFactory import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 import kotlin.test.assertEquals @RunWith(JUnit4::class) class Covid19St...
0
Kotlin
0
0
309f4c9c66698cc2317f0313fc5b295148b5a6bf
1,020
covid-watch
MIT License
ktor-core/src/org/jetbrains/ktor/nio/ByteArrayWriteChannel.kt
strre
72,268,867
true
{"Kotlin": 1024929, "Java": 61924, "FreeMarker": 6356, "CSS": 5404, "HTML": 1964, "JavaScript": 1451}
package org.jetbrains.ktor.nio import java.nio.* import java.nio.charset.* class ByteArrayWriteChannel : WriteChannel { private var buf: ByteArray = EMPTY private var count = 0 fun toByteArray() = if (buf === EMPTY) buf else buf.copyOf(count) fun toString(charset: Charset) = if (buf.isEmpty()) "" els...
0
Kotlin
0
0
d610e6e0f0e68c4dbf78e628900567ff0a2dcf54
1,073
ktor
Apache License 2.0
idea/testData/inspections/unusedSymbol/function/usedInJava.kt
JakeWharton
99,388,807
true
null
package foo fun usedInJava() { } class Ctor { constructor(p: Int) fun justCompare() {} }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
99
kotlin
Apache License 2.0
widget/src/main/java/com/angcyo/widget/loading/DangerWarningView.kt
angcyo
229,037,615
false
{"Kotlin": 6707906, "JavaScript": 5194}
package com.angcyo.widget.loading import android.content.Context import android.util.AttributeSet import com.angcyo.drawable.DangerWarningDrawable import com.angcyo.drawable.base.AbsDslDrawable import com.angcyo.widget.base.BaseDrawableView /** * @author <a href="mailto:angcyo@126.com">angcyo</a> * @since 2022/07/0...
0
Kotlin
6
5
7522055008873ab84ff13fb0077b89be00f3f880
902
UICore
MIT License
src/test/java/me/ore/swing/ext/test/OreTabPaneTest.kt
o-r-e
454,770,162
false
{"Kotlin": 234101, "Java": 5161}
package me.ore.swing.ext.test import me.ore.swing.ext.OreDnDImageRender import me.ore.swing.ext.tabs.* import me.ore.swing.ext.tabs.dnd.OreTabTransferHandler import me.ore.swing.ext.test.util.OreSwingExtTest import java.awt.* import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.* im...
0
Kotlin
0
0
c4b1dfaff495f40f298486f605a56f465551ded1
6,961
swing-ext
Apache License 2.0
src/main/kotlin/com/valaphee/blit/source/k8scp/K8scpSource.kt
valaphee
437,663,883
false
{"Kotlin": 151059, "Java": 9626}
/* * Copyright (c) 2021-2022, Valaphee. * * 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 ag...
0
Kotlin
0
5
e686d5898553021e1b4f3e825350f46472f25e4f
2,962
blit
Apache License 2.0
core/src/main/java/com/example/core/repository/local/LocalRepository.kt
PauloSzT
650,264,425
false
null
package com.example.core.repository.local import com.example.core.models.CoreFavoriteAnime import kotlinx.coroutines.flow.Flow interface LocalRepository { fun getAllFavorites(): Flow<List<CoreFavoriteAnime>> fun getAllIds(): Flow<List<Int>> suspend fun insertItem(item: CoreFavoriteAnime) suspend fun d...
0
Kotlin
0
0
62e40595cf9fbc9677d1c067725bfae437b94e6b
357
AnimeApp
MIT License
mobile-ui/src/main/java/com/laquysoft/cleangitapp/ui/mapper/UserDetailMapper.kt
joaobiriba
113,909,924
false
null
package com.laquysoft.cleangitapp.ui.mapper import com.laquysoft.cleangitapp.presentation.model.UserDetailView import com.laquysoft.cleangitapp.presentation.model.UserView import com.laquysoft.cleangitapp.ui.model.UserDetailViewModel import com.laquysoft.cleangitapp.ui.model.UserViewModel import javax.inject.Inject /...
0
Kotlin
0
0
7768529ed77fe9f889df067534908451a7671a1a
1,025
GitCleanApp
MIT License
parser/src/main/kotlin/com/muedsa/snapshot/parser/attr/AttrStrValueConst.kt
muedsa
736,941,747
false
{"Kotlin": 600787}
package com.muedsa.snapshot.parser.attr object AttrStrValueConst { val ONE_FLOAT_VALUE_REGEX = """^([+-]?(?:\d*[.])?\d+)$""".toRegex() val TWO_FLOAT_VALUE_REGEX: Regex = """^\(([+-]?(?:\d*[.])?\d+),([+-]?(?:\d*[.])?\d+)\)$""".toRegex() val FOUR_FLOAT_VALUE_REGEX: Regex = """^\(([+-]?(?:\d*[.])?\...
0
Kotlin
0
1
28737e47bac4bcca10f60c1ae0209ddb8c5de161
407
snapshot
MIT License
core/src/main/kotlin/org/jetbrains/research/kex/state/term/CastTerm.kt
Saloed
227,350,941
true
{"Kotlin": 1844577, "Python": 10439, "Java": 5186, "Shell": 168}
package org.jetbrains.research.kex.state.term //@InheritorOf("Term") //@Serializable //class CastTerm( // override val type: KexType, // val operand: Term, // override val memoryVersion: MemoryVersion = MemoryVersion.default(), // override val scopeInfo: MemoryAccessScope = MemoryAccessScop...
1
Kotlin
0
0
6ead750e33c91afafaa7d315a979396b391a5093
1,514
kex
Apache License 2.0
rpsls_grdl/app/src/main/kotlin/nl/bentels/rpsls/App.kt
BenTels
410,522,256
false
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package nl.bentels.rpsls fun main(args: Array<String>) { var playOn: Boolean = true while (playOn) { Game().playGame() print("Do you want to play again (Y/n)? ") val cont = readLine() if ("n".equals(cont,...
1
null
1
1
dbb3fd97897ba44d445087b08cf39ebdc3952826
388
Rock-Paper-Scissors-Lizard-Spock
Apache License 2.0
rpsls_grdl/app/src/main/kotlin/nl/bentels/rpsls/App.kt
BenTels
410,522,256
false
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package nl.bentels.rpsls fun main(args: Array<String>) { var playOn: Boolean = true while (playOn) { Game().playGame() print("Do you want to play again (Y/n)? ") val cont = readLine() if ("n".equals(cont,...
1
null
1
1
dbb3fd97897ba44d445087b08cf39ebdc3952826
388
Rock-Paper-Scissors-Lizard-Spock
Apache License 2.0
user-profile/src/main/kotlin/com/skufbet/userprofile/service/UserProfileCreationService.kt
otto15
781,677,300
false
{"Kotlin": 69643, "Shell": 59}
package com.skufbet.userprofile.service import com.skufbet.userprofile.dao.UserProfileDao import com.skufbet.core.api.userprofile.dao.UserProfileDetailsDao import com.skufbet.core.api.userprofile.domain.UserProfileDetails import com.skufbet.userprofile.domain.UserProfile import com.skufbet.userprofile.service.command....
0
Kotlin
0
0
fa02f4f75490961f06f4e708babeee2d08f47bbd
1,692
skufbet
MIT License
src/main/kotlin/one/devos/nautical/SofterPastels/common/SofterPastelsItems.kt
devOS-Sanity-Edition
564,647,059
false
{"Kotlin": 205518, "Java": 3341, "Python": 522}
package one.devos.nautical.SofterPastels.common import net.minecraft.world.effect.MobEffects import net.minecraft.world.item.Item import one.devos.nautical.SofterPastels.utils.CandyTooltipItem import one.devos.nautical.SofterPastels.utils.helpers.Foods object SofterPastelsItems { val WHITE_TAFFY: CandyTooltipItem...
1
Kotlin
3
2
3b85789e2072eecff0afdd34ca3fa52da6fc41b8
7,133
SofterPastels
MIT License
integrations/actors/src/main/java/de/quantummaid/reflectmaid/actors/ActorPool.kt
quantummaid
250,527,761
false
null
/** * Copyright (c) 2021 Richard Hauswald - https://quantummaid.de/. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file *...
1
null
1
4
31b816cfcb3d070c5ac84c70f4b9bd9741a7823a
4,703
reflectmaid
Apache License 2.0
weatherapp/app/src/test/java/fr/ekito/myweatherapp/datasource/WeatherRepositoryTest.kt
FlorentDambreville
157,077,084
false
{"Kotlin": 88080}
package fr.ekito.myweatherapp.datasource import fr.ekito.myweatherapp.data.repository.WeatherRepository import fr.ekito.myweatherapp.di.testWeatherApp import junit.framework.Assert import org.junit.After import org.junit.Before import org.junit.Test import org.koin.standalone.StandAloneContext.closeKoin import org.koi...
0
Kotlin
0
0
062f5f03357fedf1c8ddeb77062238f4db549132
1,669
mvvm-live-data
Creative Commons Attribution 4.0 International
domain/src/main/java/com/deevvdd/domain/model/response/PickupLocationData.kt
HeinXtet
375,643,967
false
null
package com.deevvdd.domain.model.response import com.squareup.moshi.Json /** * Created by heinhtet deevvdd@gmail.com on 08,June,2021 */ data class PickupLocationData( @field:Json(name = "number_of_new_locations") val number_of_new_locations: Int, @field:Json(name = "pickup") val pickup: List<Picku...
0
Kotlin
0
0
bbe2c07506c95d3c55a3a57f49c283e1e0879e39
328
Pomelo-Test
Apache License 2.0
src/main/kotlin/dev/sterner/joker/JokerDataGenerator.kt
mrsterner
811,742,198
false
{"Kotlin": 28539, "Java": 511}
package dev.sterner.joker import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator object JokerDataGenerator : DataGeneratorEntrypoint { override fun onInitializeDataGenerator(fabricDataGenerator: FabricDataGenerator) { } }
0
Kotlin
0
0
ece017f3f0143a44ae455bc2046435606f857c7a
305
Joker
Creative Commons Zero v1.0 Universal
app/src/main/java/waheed/kotlinmvvm/tabs/viewmodeldatasharing/ui/qualification/FragmentQualification.kt
WaheedNazir
224,142,451
false
null
package waheed.kotlinmvvm.tabs.viewmodeldatasharing.ui.qualification import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import kotlinx.an...
0
Kotlin
4
6
9666ab8813bcb5bd51b2b1f8ed7a000c705e38fd
2,880
ViewModel-ViewModel-Communication
MIT License
src/14HigherOrderFunction.kt
JaldeepAsodariya
174,094,198
false
null
fun higher(func: (Int) -> Unit) { func(7) } fun higher1(arg1: Int, func: (Int, String) -> Unit) { func(5, "String") } fun main(args: Array<String>) { // Type 1 higher { param -> println(param) } // use of lambda higher { println(it) } // Type 2 higher1(4, { i, s -> println("$i and $s") }...
1
null
1
1
1ce9d79229c354aaba4a44f4ffe7de676a5f23eb
385
kotlin-learn-solutelabs
Apache License 2.0
app/src/main/java/com/ezetap/ezetapassignmentappmodule/ui/generic/UiState.kt
SachinRupani
596,274,906
false
null
package com.ezetap.ezetapassignmentappmodule.ui.generic import com.ezetap.ezetapassignmentnetworkmodule.generic.FailureCause /** * UiState class which holds 3 states * Success, Failure & Loading */ sealed class UiState<out Data> { data class Success<out Data>(val data: Data) : UiState<Data>() data class Fa...
0
Kotlin
0
0
6ef381256d906a92f04fcdcae43def3932de3b2d
608
Ezetap-Assignment
Apache License 2.0
src/main/kotlin/com/example/demo/internal/AutomaticMessageReceiver.kt
hantsy
720,994,714
false
{"Kotlin": 24701}
package com.example.demo.internal import com.example.demo.MessagingService import org.slf4j.LoggerFactory import org.springframework.scheduling.annotation.Scheduled import org.springframework.stereotype.Component @Component class AutomaticMessageReceiver(val messagingService: MessagingService) { companion object ...
6
Kotlin
1
1
8d53ec0657c549d9cfe5eee67859b20ae68c0132
752
aws-sdk-kotlin-spring-example
Apache License 2.0
sdk/src/main/kotlin/com/processout/sdk/api/service/POInvoicesService.kt
processout
117,821,122
false
null
package com.processout.sdk.api.service import com.processout.sdk.api.model.request.POCreateInvoiceRequest import com.processout.sdk.api.model.request.POInvoiceAuthorizationRequest import com.processout.sdk.api.model.request.PONativeAlternativePaymentMethodRequest import com.processout.sdk.api.model.response.POInvoice ...
0
Kotlin
4
1
7920bfdab10cda239ab98587f68709b2c68cce4c
2,188
processout-android
MIT License
kaspresso/src/main/kotlin/com/kaspersky/kaspresso/testcases/core/sections/AfterTestSection.kt
KasperskyLab
208,070,025
false
null
package com.kaspersky.kaspresso.testcases.core.sections import com.kaspersky.kaspresso.kaspresso.Kaspresso import com.kaspersky.kaspresso.testcases.core.testcontext.BaseTestContext import com.kaspersky.kaspresso.testcases.models.TestBody /** * The representation of a set of actions to invoke after the test. */ clas...
55
null
150
1,784
9c94128c744d640dcd646b86de711d2a1b9c3aa1
1,066
Kaspresso
Apache License 2.0
flow/src/androidTest/java/pro/progr/flow/CalendarListItemTest.kt
anastas-makar
643,590,978
false
null
package pro.progr.flow import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onNodeWithText import org.junit.Rule import org.junit.Test import pro.progr....
0
Kotlin
0
0
5e9562f98129215dc0e113bd7e2683892f3bfb94
1,419
Flow
MIT License
frontend/app/src/main/java/com/harissabil/anidex/ui/screen/auth/login/LoginScreen.kt
harissabil
718,008,784
false
{"Kotlin": 306276, "PHP": 38166}
package com.harissabil.anidex.ui.screen.auth.login import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foun...
0
Kotlin
0
0
ce077792f1b081f6730af964745aa4fcb783ef92
7,341
TemanWibu
MIT License
shared/src/androidMain/kotlin/me/androidbox/busbytranslator/data/local/DatabaseDriverFactory.kt
steve1rm
674,737,339
false
null
package me.androidbox.busbytranslator.data.local import android.content.Context import com.squareup.sqldelight.android.AndroidSqliteDriver import com.squareup.sqldelight.db.SqlDriver import me.androidbox.busbytranslator.database.TranslateDatabase actual class DatabaseDriverFactory( private val context: Context ) ...
0
Kotlin
0
0
2a5d29d8ef1a2ad1ec0c96f7d0acf2041ac79d87
524
busbytranslator
MIT License
apps/demox/src/main/java/coroutines/CoroutinesActivity.kt
akt
178,159,333
false
{"Java": 755054, "Kotlin": 74323}
package coroutines import android.graphics.BitmapFactory import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import com.ak.demo.R import com.lab.request.JSLApi import kotlinx.android.synthetic.main.activity_coroutines.* import kotlinx.coroutines.Dispatchers import kotlinx.c...
1
Java
1
1
ac6714621deadaaf21e8acb192184183d54ed7fc
1,905
android-boot
MIT License
common/database/src/commonMain/kotlin/dev/sergiobelda/todometer/common/database/testutils/EntitySampleData.kt
serbelga
301,817,067
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
8
null
37
585
9a097cd4df924cbf66c0b6af6fa1fed667d30ca0
2,560
Todometer-KMP
Apache License 2.0
web/src/main/kotlin/com/zeongit/web/serviceimpl/CollectionServiceImpl.kt
fuzeongit
265,537,118
false
null
package com.zeongit.web.serviceimpl import com.zeongit.data.constant.CollectState import com.zeongit.data.database.primary.dao.CollectionDao import com.zeongit.data.database.primary.entity.Collection import com.zeongit.share.util.DateUtil import com.zeongit.web.service.CollectionService import org.springframework.data...
2
Kotlin
1
1
695043ba1e5f4a7a7ad662817de77758c97f408e
3,008
zeongit-beauty
MIT License