path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/test/kotlin/_50to100/Task79Test.kt
embuc
735,933,359
false
{"Kotlin": 136592, "Java": 79261}
package _50to100 import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import se.embuc._50to100.Task79 class Task79Test { @Test fun solve() { assertEquals("73162890", Task79().solve()) assertEquals("73162890", JTask79().solve()) } }
0
Kotlin
0
1
74af4e8537be183d43fa26d1a08032d7785ab862
275
projecteuler
MIT License
src/test/kotlin/no/nav/tiltaksarrangor/controller/TiltaksarrangorControllerTest.kt
navikt
616,496,742
false
null
package no.nav.tiltaksarrangor.controller import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import no.nav.tiltaksarrangor.IntegrationTest import no.nav.tiltaksarrangor.ingest.model.AnsattRolle import no.nav.tiltaksarrangor.ingest.model.EndringsmeldingType import no.nav.tiltaksarrangor.ingest.mod...
5
Kotlin
0
2
c2c1c9501375018b40ef0ac94baf44570b1f37c9
11,242
amt-tiltaksarrangor-bff
MIT License
core/src/commonMain/kotlin/work/socialhub/kmastodon/api/BlocksResource.kt
uakihir0
783,390,459
false
{"Kotlin": 167667, "Ruby": 2191, "Shell": 2164, "Makefile": 319}
package work.socialhub.kmastodon.api import work.socialhub.kmastodon.api.request.blocks.BlocksBlocksRequest import work.socialhub.kmastodon.api.response.Response import work.socialhub.kmastodon.api.response.blocks.BlocksBlocksResponse import kotlin.js.JsExport @JsExport interface BlocksResource { /** * Fet...
0
Kotlin
0
1
8d3278cff7a164cbe9e9ad978a9b28e743d1c96d
451
kmastodon
MIT License
src/main/kotlin/no/nav/dagpenger/iverksett/utbetaling/tilstand/IverksettingsresultatService.kt
navikt
611,752,955
false
{"Kotlin": 322143, "Gherkin": 57891, "Shell": 626, "Dockerfile": 121}
package no.nav.dagpenger.iverksett.utbetaling.tilstand import no.nav.dagpenger.iverksett.utbetaling.domene.Iverksettingsresultat import no.nav.dagpenger.iverksett.utbetaling.domene.OppdragResultat import no.nav.dagpenger.iverksett.utbetaling.domene.TilkjentYtelse import no.nav.dagpenger.kontrakter.felles.Fagsystem imp...
1
Kotlin
1
0
e22bac4134604455dec0f70a6f3d5e9fe78391d6
2,638
dp-iverksett
MIT License
libraries/stdlib/src/kotlin/reflect/typeOf.kt
dotlin-org
434,960,829
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. * Copyright 2021-2022 Wilko Manger * * 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 * * Unles...
0
Kotlin
0
30
633430bfa0786923bde86d9068323f18eb5c24d5
940
dotlin
Apache License 2.0
buildSrc/src/Dependencies.kt
ye-yu
283,407,597
false
{"Gradle Kotlin DSL": 4, "Gradle": 1, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "JSON": 3, "Java": 14, "Kotlin": 63}
object Jetbrains { private const val annotationsVersion = "17.0.0" const val annotations = "org.jetbrains:annotations:$annotationsVersion" object Kotlin { const val version = "1.3.72" const val stdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version" const val reflect = "org.jetb...
1
null
1
1
99309d74839a9470e7940e6edc9c80087bb5abad
1,254
fabric-kotlin-mod-template
MIT License
app/src/main/java/com/hfut/schedule/ViewModel/LoginSuccessViewModel.kt
Chiu-xaH
705,508,343
false
{"Kotlin": 1439177, "HTML": 77257, "Java": 686}
package com.hfut.schedule.ViewModel //import com.hfut.schedule.logic.network.ServiceCreator.Login.OneGetNewTicketServiceCreator.client import android.annotation.SuppressLint import android.os.Build import android.util.Base64 import android.util.Log import androidx.annotation.RequiresApi import androidx.lifecycle.Mutab...
0
Kotlin
1
3
dd9406af7bdc0a5f3fa5b5b97fb1dd44aa9665e0
45,609
HFUT-Schedule
Apache License 2.0
library/src/main/java/top/zibin/luban/InputStreamAdapter.kt
ZJYZJY
288,158,029
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Markdown": 3, "Proguard": 2, "Java": 10, "XML": 15, "Kotlin": 9}
package top.zibin.luban import java.io.IOException import java.io.InputStream /** * Automatically close the previous InputStream when opening a new InputStream, * and finally need to manually call [.close] to release the resource. */ abstract class InputStreamAdapter : InputStreamProvider { private var inputS...
1
null
1
1
c3446ca8a7cc266d3273d51f7aa4aa88e33c5709
768
Luban
Apache License 2.0
kotlintest-extensions/kotlintest-extensions-koin/src/test/kotlin/com/sksamuel/kt/koin/KoinModule.kt
KyongSik-Yoon
165,618,517
true
{"Kotlin": 1467439, "Java": 5525, "Shell": 125}
package com.sksamuel.kt.koin import org.koin.dsl.module class GenericRepository { fun foo() = "Bar" } class GenericService( val repository: GenericRepository ) { fun foo() = repository.foo() } val koinModule = module { single { GenericService(get()) } single { GenericRepository() } }
0
Kotlin
0
1
211019bb3b3904e976203b91a1d79f5baa689ae5
305
kotlintest
Apache License 2.0
compiler/testData/diagnostics/tests/controlFlowAnalysis/initializationInLambda.kt
JakeWharton
99,388,807
true
null
// !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE fun ignoreIt(f: () -> Unit) {} fun exec(f: () -> Unit) = f() fun foo() { var x: Int ignoreIt() { // Ok x = 42 } // Error! <!UNINITIALIZED_VARIABLE!>x<!>.hashCode() } fun bar() { val x: Int exec { x = 13 } ...
181
Kotlin
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
966
kotlin
Apache License 2.0
src/main/kotlin/org/jetbrains/plugins/feature/suggester/suggesters/UnwrapSuggester.kt
JetBrains
10,263,181
false
null
package training.featuresSuggester.suggesters import com.intellij.psi.PsiElement import com.intellij.refactoring.suggested.endOffset import com.intellij.refactoring.suggested.startOffset import training.featuresSuggester.* import training.featuresSuggester.actions.Action import training.featuresSuggester.actions.Befor...
284
null
5162
7
266934e25a8c277e3706ed5bcd00f6bf891b2426
5,196
intellij-feature-suggester
Apache License 2.0
app/src/main/kotlin/com/simplemobiletools/gallery/models/Directory.kt
rex07
129,520,377
true
{"Kotlin": 312746}
package com.simplemobiletools.gallery.models import com.simplemobiletools.commons.extensions.formatDate import com.simplemobiletools.commons.extensions.formatSize import com.simplemobiletools.commons.helpers.* import java.io.Serializable data class Directory(val path: String, val tmb: String, val name: String, var me...
1
Kotlin
0
1
e1818d30e436b0b188b541a02407b3bae314fc31
1,915
Simple-Gallery
Apache License 2.0
models/src/main/java/com/vimeo/networking2/LiveStreamsQuota.kt
vimeo
41,306,732
false
null
package com.vimeo.networking2 import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import com.vimeo.networking2.annotations.Internal /** * Live Stream Quota DTO. * * @param maximum The maximum amount of streams that the user can create. * @param remaining The amount of remaining live streams that th...
21
Kotlin
52
123
e4f31d4fa144756d576101b3a82120657e9e8a51
580
vimeo-networking-java
MIT License
app/src/test/java/id/fathonyfath/pokedex/utils/PokemonDataHelperKtTest.kt
fathonyfath
111,093,240
false
null
package id.devfest.pokedex.utils import org.junit.Assert.assertEquals import org.junit.Test class PokemonDataHelperKtTest { @Test fun getIdFromURI_isCorrect() { assertEquals(1, "https://pokeapi.co/api/v2/pokemon-species/1/".getIdFromURI()) assertEquals(-1, "https://pokeapi.co/api/v2/pokemon"....
0
Kotlin
3
3
b1c522cccf920b6a2ed82db2902e09e66e009555
799
pokedex-android
MIT License
core/src/main/kotlin/io/timemates/backend/users/usecases/EditUserUseCase.kt
timemates
575,534,781
false
{"Kotlin": 449272, "Dockerfile": 859}
package io.timemates.backend.users.usecases import io.timemates.backend.common.markers.UseCase import io.timemates.backend.features.authorization.AuthorizedContext import io.timemates.backend.users.repositories.UsersRepository import io.timemates.backend.users.types.User import io.timemates.backend.users.types.UsersSc...
20
Kotlin
0
8
5f7fb229cfecad044bc40a6cb65341253f7a026c
737
backend
MIT License
compiler/testData/diagnostics/tests/j+k/kt2619.kt
BradOselo
367,097,840
true
null
//FILE: foo.kt fun main() { val c: Type <!NON_EXHAUSTIVE_WHEN!>when<!> (<!UNINITIALIZED_VARIABLE!>c<!>) { } } //FILE: Type.java public enum Type { TYPE, NO_TYPE; }
1
null
1
3
58c7aa9937334b7f3a70acca84a9ce59c35ab9d1
189
kotlin
Apache License 2.0
oreui/src/commonMain/kotlin/vip/cdms/orecompose/utils/FormBuilder.kt
Cdm2883
796,016,358
false
{"Kotlin": 104805, "HTML": 344, "CSS": 103}
package vip.cdms.orecompose.utils
0
Kotlin
0
7
45318c5265940b97d0e5d0784378403aaca735e5
35
OreCompose
Apache License 2.0
shared/src/commonMain/kotlin/ui/screen/demo/ThemeColorDemo.kt
sdercolin
708,470,210
false
null
package ui.screen.demo import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column impo...
0
null
1
9
8ed61865b56192b1e484f2e36ddc0a33ec79e8e5
6,773
recstar
Apache License 2.0
app/src/main/java/com/cmgcode/minimoods/MiniMoodsApplication.kt
CampbellMG
327,529,105
false
null
package com.cmgcode.minimoods import android.app.Application import com.cmgcode.minimoods.dependencies.AppContainer import com.cmgcode.minimoods.dependencies.AppModule class MiniMoodsApplication : Application() { override fun onCreate() { super.onCreate() module = AppContainer(applicationContext)...
4
Kotlin
1
9
24cc9e2631f59b955b9d7f3991557d262dacde9d
398
MiniMoods
MIT License
application-interface/src/main/kotlin/com/mechanica/engine/input/KeyID.kt
DominicDolan
210,876,716
false
{"Kotlin": 435430}
package com.mechanica.engine.input interface KeyID { val id: Int val label: String }
7
Kotlin
1
0
67f7613de56e94a4086a02a503b53df57f6ad92c
93
Mechanica
MIT License
compiler/testData/diagnostics/testsWithStdLib/reified/reifiedNothingSubstitution.fir.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// LANGUAGE: +NullableNothingInReifiedPosition // DIAGNOSTICS: -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_VARIABLE -DEPRECATION inline fun<reified T> foo(block: () -> T): String = block().toString() inline fun <reified T: Any> javaClass(): Class<T> = T::class.java fun box() { val a = <!REIFIED_TYPE_FORBIDDEN_SU...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
813
kotlin
Apache License 2.0
dsl/jpql/src/test/kotlin/com/linecorp/kotlinjdsl/dsl/jpql/expression/SubstringDslTest.kt
line
442,633,985
false
{"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023}
package com.linecorp.kotlinjdsl.dsl.jpql.expression import com.linecorp.kotlinjdsl.dsl.jpql.queryPart import com.linecorp.kotlinjdsl.querymodel.jpql.expression.Expression import com.linecorp.kotlinjdsl.querymodel.jpql.expression.Expressions import org.assertj.core.api.WithAssertions import org.junit.jupiter.api.Test ...
4
Kotlin
86
705
3a58ff84b1c91bbefd428634f74a94a18c9b76fd
3,655
kotlin-jdsl
Apache License 2.0
05_FirstStepsInKotlinwithSpringBoot/rest_spring_boot_and_kotlin_neptum/src/test/kotlin/com/neptum/integrationtests/swagger/SwaggerIntegrationTest.kt
matheus-adps91
623,150,696
false
null
package com.neptum.integrationtests.swagger import com.neptum.integrationtests.testcontainers.AbstractIntegrationTest import com.neptum.integrationtests.ConfigsTest import io.restassured.RestAssured.given import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test import org.springframework.bo...
0
Kotlin
0
0
e2e97c6062c36fa4c657a075e3d95d699fd3ffac
776
rest-spring-boot-and-kotlin-neptum
Apache License 2.0
app/src/main/java/lab4/lab/com/lab4/db/Note.kt
mishatron
131,904,586
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 11, "XML": 18, "Java": 2}
package lab4.lab.com.lab4.db /** * Created by mishatron on 02.05.2018. */ data class Note(var id:Int, var text:String)
1
null
1
1
41136274370ab7a4441d6ca5d696e004df13ec53
121
lab4_android_viewpager_sqlite
MIT License
api/src/main/java/com/ftinc/giphy/api/model/Image.kt
52inc
138,968,440
false
{"Gradle": 8, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "INI": 3, "Proguard": 2, "Kotlin": 23, "XML": 22, "Java": 2}
package com.ftinc.giphy.api.model data class Image( val url: String, val width: Int, val height: Int, val size: Int?, val mp4: String?, val mp4_size: Int?, val webp: String?, val webp_size: Int? )
1
null
1
1
a07b804bb133c9706cad35fcc79811c9020a3b05
263
android-giphy
Apache License 2.0
app/src/main/java/com/doubean/ford/data/db/AppDatabase.kt
Bumblebee202111
453,416,432
false
null
package com.doubean.ford.data.db import android.content.Context import androidx.room.Database import androidx.room.Room.databaseBuilder import androidx.room.RoomDatabase import androidx.room.TypeConverters import androidx.sqlite.db.SupportSQLiteDatabase import com.doubean.ford.data.vo.* import com.doubean.ford.util.Ap...
0
Kotlin
0
5
3da5362ca15342d1fc7151dbb7e1d85381d35878
1,846
doubean
Apache License 2.0
compose/material/material/src/commonMain/kotlin/androidx/compose/material/Divider.kt
RikkaW
389,105,112
false
null
/* * Copyright 2019 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 applica...
29
null
950
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
1,873
androidx
Apache License 2.0
app/src/main/java/com/ml/shivay_couchbase/docqa/data/DataModels.kt
shivay-couchbase
874,673,406
false
null
package com.ml.couchbase.docqa.data data class Chunk( var chunkId: Long = 0, var docId: String = 0.toString(), var docFileName: String = "", var chunkData: String = "", var chunkEmbedding: FloatArray = floatArrayOf() ) data class Document( var docId: Long = 0, var docText: String = "", ...
0
null
0
1
cccd12efdc63ac2f7a53294d20383e55f693f0b8
541
couchbase-lite-workshop
Apache License 2.0
app/src/main/java/com/gmail/uia059466/simplemath/forgit/games/HelpUtils.kt
serhiq
288,129,326
false
null
package com.gmail.uia059466.simplemath.forgit.games import com.gmail.uia059466.simplemath.forgit.R import com.gmail.uia059466.simplemath.forgit.utils.StringWrapper class HelpUtils{ companion object{ fun helpSayNext(add: Int): HelpMessage { val id= when (add) { 2 -> R.string.help_say_next_2 ...
1
null
1
1
2227c8afab91e30a333a260bd99c9e8f0e55d4ff
822
Simple-math
Apache License 2.0
android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/internal/DevMenuModule.kt
kojoYeboah53i
462,599,485
false
null
package abi44_0_0.host.exp.exponent.modules.internal import android.content.Intent import android.net.Uri import android.os.Build import android.os.Bundle import android.provider.Settings import abi44_0_0.com.facebook.react.bridge.LifecycleEventListener import abi44_0_0.com.facebook.react.bridge.ReactApplicationContex...
668
null
5226
4
75d1b44ed4c4bbd05d7ec109757a017628c43415
8,298
expo
MIT License
app/src/main/java/com/andrii/movieapp/models/Movie.kt
andrii-zubenko
726,233,305
false
{"Kotlin": 81440}
package com.andrii.movieapp.models import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import com.squareup.moshi.Json import kotlinx.parcelize.Parcelize @Parcelize @Entity data class Movie( @Json(name = "poster_path") val posterPath: String?, @PrimaryKey val id: Lo...
0
Kotlin
0
0
4c95f5d17affef492bbb7055848f99a6db3f6917
933
MovieApp
MIT License
src/main/kotlin/de/bettinggame/adapter/BaseController.kt
lcmatrix
85,833,270
false
{"XSLT": 83147, "Kotlin": 46258, "HTML": 28434, "Dockerfile": 269, "CSS": 192}
package de.bettinggame.adapter import de.bettinggame.domain.NewsRepository import de.bettinggame.ui.Navigation import org.springframework.security.core.Authentication import org.springframework.security.core.context.SecurityContextHolder import org.springframework.stereotype.Controller import org.springframework.ui.Mo...
16
XSLT
1
1
436c8d580436cc06105e9afb7f5833eafd3e619f
1,642
betting-game
Apache License 2.0
src/backend/paas/project/biz-project/src/main/kotlin/com/heapoverflow/project/jmx/api/ProjectJmxApi.kt
panfairy
577,309,391
false
null
package com.heapoverflow.project.jmx.api import org.slf4j.LoggerFactory import org.springframework.jmx.export.MBeanExporter import org.springframework.stereotype.Component import javax.management.ObjectName @Component class ProjectJmxApi constructor( private val mBeanExporter: MBeanExporter, ) { private val a...
0
Kotlin
0
0
75b45eee784fdbc92441856dfde289bad3ec91b5
1,517
ho-base
MIT License
app/src/main/java/me/yimu/doucalendar/Logger.kt
yimun
104,193,995
false
null
package me.yimu.doucalendar import android.os.Environment import com.elvishew.xlog.LogConfiguration import com.elvishew.xlog.LogLevel import com.elvishew.xlog.XLog import com.elvishew.xlog.flattener.PatternFlattener import com.elvishew.xlog.printer.AndroidPrinter import com.elvishew.xlog.printer.file.FilePrinter impor...
0
Kotlin
1
2
0e51904367b8ce7ddb46814a0a2e76e138a5dc64
1,573
DouCalendar
MIT License
boat-spring-boot-core/src/main/kotlin/xyz/srclab/spring/boot/task/TaskDelegate.kt
srclab-projects
232,048,928
false
null
package xyz.srclab.spring.boot.task import java.util.concurrent.Executor /** * An task delegate for execution operation. */ interface TaskDelegate { fun execute(executor: Executor, task: Runnable) }
0
Kotlin
0
2
661236cf81d2af015aba0a4155f7b30ccbec9520
207
boat-spring-boot
Apache License 2.0
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/Callable.kt
tuProlog
230,784,338
false
null
package it.unibo.tuprolog.solve.stdlib.primitive import it.unibo.tuprolog.core.Struct import it.unibo.tuprolog.core.Term import it.unibo.tuprolog.solve.ExecutionContext import it.unibo.tuprolog.solve.primitive.TypeTester object Callable : TypeTester<ExecutionContext>("callable") { override fun testType(term: Term...
92
null
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
349
2p-kt
Apache License 2.0
src/main/kotlin/no/nb/bikube/core/controller/CoreController.kt
NationalLibraryOfNorway
694,135,748
false
{"Kotlin": 99637, "Dockerfile": 109}
package no.nb.bikube.core.controller import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.responses.ApiResponse import io.swagger.v3.oas.annotations.responses.ApiResponses import io.swagger.v3.oas.annotations.tags.Tag import no.nb.bikube.core.enum.CatalogueName import no.nb.bikube.core.e...
4
Kotlin
0
2
b197cdcaebbc7e63e6ecc756517a10011a263e62
3,998
bikube
Apache License 2.0
shared/src/iosMain/kotlin/com/juagri/shared/data/local/database/DriverFactory.kt
juagrideveloper
699,804,299
false
{"Kotlin": 1302992, "Swift": 6001, "Shell": 615}
package com.juagri.shared.data.local.database import app.cash.sqldelight.db.SqlDriver import app.cash.sqldelight.driver.native.NativeSqliteDriver import com.juagri.shared.JUDatabase actual class DriverFactory { actual fun createDriver(): SqlDriver { return NativeSqliteDriver(JUDatabase.Schema, "JUDatabas...
0
Kotlin
0
0
dfb433421930bbf970fae303f5e496698f9d9e09
335
juagriapp
Apache License 2.0
src/commonMain/kotlin/wizard/files/GradleBat.kt
terrakok
618,540,934
false
null
package wizard.files import wizard.ProjectFile class GradleBat : ProjectFile { override val path = "gradlew.bat" override val content = """ @rem @rem Copyright 2015 the original author or authors. @rem @rem Licensed under the Apache License, Version 2.0 (the "License"); @rem you may not use this file except i...
13
null
29
439
d61bd739f0443940441eec1986c5b58fa40f5f89
2,981
Compose-Multiplatform-Wizard
MIT License
app/src/main/java/com/rfb/projetoapitmdb/data/remote/TMDB.kt
rubensfbr
768,066,787
false
{"Kotlin": 46148}
package com.rfb.projetoapitmdb.data.remote import com.rfb.projetoapitmdb.data.dto.details.DetailsDTO import com.rfb.projetoapitmdb.data.dto.popularMovies.PopularMoviesDTO import com.rfb.projetoapitmdb.data.dto.search.SearchDTO import com.rfb.projetoapitmdb.data.dto.topRatedMovies.TopRatedMoviesDTO import com.rfb.proje...
0
Kotlin
0
0
20f8c81f634bdf417f669e1119239ef78bad7e89
1,233
ProjetoApiTMDB
Apache License 2.0
src/commonMain/kotlin/com/adyen/model/balanceplatform/AddressRequirement.kt
tjerkw
733,432,442
false
{"Kotlin": 5043126, "Makefile": 6356}
/** * Configuration API * * The Configuration API enables you to create a platform where you can onboard your users as account holders and create balance accounts, cards, and business accounts. ## Authentication Your Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API...
0
Kotlin
0
0
2da5aea5519b2dfa84454fe1665e9699edc87507
3,261
adyen-kotlin-multiplatform-api-library
MIT License
app/src/main/java/eu/yeger/koffee/ui/user/creation/UserCreationViewModel.kt
koffee-project
257,901,759
false
null
package eu.yeger.koffee.ui.user.creation import androidx.lifecycle.MutableLiveData import eu.yeger.koffee.repository.AdminRepository import eu.yeger.koffee.repository.UserRepository import eu.yeger.koffee.ui.CoroutineViewModel import eu.yeger.koffee.ui.DataAction import eu.yeger.koffee.utility.nullIfBlank import eu.ye...
0
Kotlin
0
1
8fd30631154ea3b9f568297152250322dd6d2f58
2,658
koffee-app
Apache License 2.0
Search/src/main/kotlin/Graph.kt
Hieu-Luu
804,079,368
false
{"Kotlin": 20809}
package org.example.search.algorith import java.util.LinkedList import java.util.Queue class Graph(private val vertices: Int) { private val adjacencyList: MutableList<MutableList<Int>> = MutableList(vertices) { mutableListOf() } fun addEdge(v: Int, w: Int) { adjacencyList[v].add(w) adjacencyL...
0
Kotlin
0
0
202399897d3dacecfe0abb91adea4253bd5461b2
2,506
algorithms
Apache License 2.0
app-1/src/test/kotlin/com/lg5/app1/ModuleOneTest.kt
lg-training
787,013,329
false
{"Kotlin": 793}
package com.lg5.app1 import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test class ModuleOneTest { lateinit var sut: ModuleOne @BeforeEach fun setUp() { sut = ModuleOne("1") } @Test fun getMasp() { sut.mas...
0
Kotlin
0
0
40290541d601cf03a23a9e2cab2d209a85e26631
408
multimodule-gradle-kts
MIT License
core-starter/src/main/kotlin/com/labijie/application/HttpFormUrlCodec.kt
hongque-pro
309,874,586
false
null
package com.labijie.application import org.springframework.util.LinkedMultiValueMap import org.springframework.util.MultiValueMap import org.springframework.util.StringUtils import java.net.URLDecoder import java.net.URLEncoder import java.nio.charset.Charset object HttpFormUrlCodec { fun encode(formData: Map<St...
0
null
0
8
f2f709ee8fff5b6d416bc35c5d7e234a4781b096
2,382
application-framework
Apache License 2.0
src/main/kotlin/net/integr/rendering/uisystem/MovableBox.kt
Integr-0
786,886,635
false
{"Kotlin": 199433, "Java": 65495}
/* * Copyright © 2024 Integr * * 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...
0
Kotlin
0
1
cd0389b340f24661e117f033cd56f452d2efb28d
3,178
Helix
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppssubjectaccessrequestworker/gateways/DocumentStorageGateway.kt
ministryofjustice
748,250,175
false
{"Kotlin": 65078, "Dockerfile": 1161}
package uk.gov.justice.digital.hmpps.hmppssubjectaccessrequestworker.gateways import org.json.JSONObject import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Value import org.springframework.core.io.ByteArrayResource import org...
0
Kotlin
0
0
16175eb28a6398b48bc5e2c04329e92f66600853
2,500
hmpps-subject-access-request-worker
MIT License
src/tr/mangasiginagi/src/eu/kanade/tachiyomi/extension/tr/mangasiginagi/MangaSiginagi.kt
komikku-app
720,497,299
false
{"Kotlin": 6775539, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.tr.mangasiginagi import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import java.text.SimpleDateFormat import java.util.Locale class MangaSiginagi : MangaThemesia( "Manga Siginagi", "https://mangasiginagi.com", "tr", dateFormat = SimpleDateFormat("MMMM...
22
Kotlin
8
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
347
komikku-extensions
Apache License 2.0
material_design/MaterialTest/app/src/main/java/com/workaholiclab/materialtest/FruitActivity.kt
Workaholic-Lab
298,015,933
false
{"Kotlin": 418971, "C++": 159092, "Makefile": 31044, "Java": 4576, "HTML": 2236, "QMake": 753, "C": 263}
package com.workaholiclab.materialtest import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.MenuItem import com.bumptech.glide.Glide import kotlinx.android.synthetic.main.activity_fruit.* import kotlinx.android.synthetic.main.activity_main.* import kotlinx.android.synthetic.main...
0
Kotlin
0
1
55220c5c71cbce5b398c4b6c0aacacaa5e94c4e4
1,393
Android-Kotlin-startup
Apache License 2.0
app/src/main/java/com/tommannson/familycooking/domain/DomainModule.kt
TomMannson
742,552,338
false
{"Kotlin": 261582}
package com.tommannson.familycooking.domain import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent @InstallIn(SingletonComponent::class) @Module abstract class DomainModule { @Binds internal abstract fun loadImage(impl: DefaultLoadImageUseCase):...
0
Kotlin
0
0
aac2d58a56f67e8849ed328bb0b0da690bdb5442
460
CookMe
MIT License
crm/src/test/kotlin/it/polito/crm/IntegrationTest.kt
gianlucavinci98
874,249,564
false
{"Kotlin": 354206, "TypeScript": 180680, "JavaScript": 3610, "Dockerfile": 2844, "CSS": 2078, "HTML": 302}
package org.example.crm.integrationTest.controllers import org.springframework.boot.test.context.SpringBootTest import org.springframework.boot.test.util.TestPropertyValues import org.springframework.context.ApplicationContextInitializer import org.springframework.context.ConfigurableApplicationContext import org.spri...
0
Kotlin
0
0
ccad8f0a41e77e03935e548b4f03969fc051a61f
1,327
wa2-project-job-placement
MIT License
compiler/testData/codegen/boxInline/special/inlineChain.kt
JakeWharton
99,388,807
false
null
// FILE: 1.kt class My inline fun <T, R> T.perform(job: (T)-> R) : R { return job(this) } inline fun My.someWork(job: (String) -> Any): Unit { this.perform { job("OK") } } inline fun My.doWork (closure : (param : String) -> Unit) : Unit { this.someWork(closure) } inline fun My.doPerform (c...
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
755
kotlin
Apache License 2.0
Android-Kotlin/sulmun2/sulmun2/app/src/main/java/com/example/sulmun2/horror2detail/horrordetail17.kt
dkekdmf
469,109,428
false
{"Jupyter Notebook": 237657, "Python": 61277, "Kotlin": 61159, "C": 27870, "JavaScript": 7802, "EJS": 6927, "HTML": 2245, "CSS": 111}
package com.example.sulmun2.horror2detail import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.example.sulmun2.R class horrordetail17 : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layo...
4
Jupyter Notebook
0
1
445ac449acd6f1bf9f3b49d37f4df4739b8feca8
348
Jaehoon
MIT License
common/src/main/java/com/microsoft/identity/common/internal/activebrokerdiscovery/BrokerDiscoveryClient.kt
AzureAD
109,141,516
false
null
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restricti...
77
null
46
41
944252ace420a3ebfc0fc0d126ca47084e084a8f
12,393
microsoft-authentication-library-common-for-android
MIT License
app/src/main/java/com/agobikk/cookeatenjoy/data/converters/ConvertFoodInformationEntity.kt
AGOBIKK
483,512,081
false
null
package com.agobikk.cookeatenjoy.data.converters import com.agobikk.cookeatenjoy.data.local.entities.ExtendedIngredientEntity import com.agobikk.cookeatenjoy.data.local.entities.FoodInformationEntity import com.agobikk.cookeatenjoy.models.FoodInformation interface ConvertFoodInformationEntity { fun convertFoodInf...
0
Kotlin
0
0
663238d46b9a7308608a5d14b953f0691a91fe95
426
CookEatEnjoy
Apache License 2.0
residingtab/src/main/java/com/orsteg/residingtab/RevealViewPager.kt
goody-h
166,485,252
false
null
package com.orsteg.residingtab import android.app.Activity import android.content.Context import android.os.Build import android.os.Bundle import android.os.Parcelable import android.support.v4.view.ViewPager import android.util.AttributeSet import android.view.View import android.view.WindowManager import java.util.*...
0
Kotlin
2
9
c463df87610bca6ca874fccfce1477f955d10766
18,903
ResidingTab
Apache License 2.0
app/src/main/java/com/hypersoft/admobads/ui/fragments/sample/FragmentBanner.kt
hypersoftdev
616,294,144
false
{"Kotlin": 117351}
package com.hypersoft.admobads.ui.fragments.sample import com.hypersoft.admobads.R import com.hypersoft.admobads.databinding.FragmentBannerBinding import com.hypersoft.admobads.adsconfig.AdmobBanner import com.hypersoft.admobads.adsconfig.callbacks.BannerCallBack import com.hypersoft.admobads.adsconfig.enums.BannerTyp...
1
Kotlin
5
2
9531cc5b3698fc4ca74745f8352abea9d05fb7cf
3,076
Admob-Ads
Apache License 2.0
desktop/src/main/kotlin/ui/screen/StartupScreen.kt
kotpot
696,232,990
false
null
package org.kotpot.cosmos.desktop.ui.screen import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androi...
0
null
2
8
b4c10a7d04477d7f1d3a0b8824fb27240c4e526e
2,047
cosmos-client
MIT License
app/src/main/java/com/example/bagstore/Model/Data/LoginResponse.kt
pixel-Alireza
634,630,481
false
null
package ir.dunijet.dunibazaar.model.data data class LoginResponse( val expiresAt: Int, val message: String, val success: Boolean, val token: String )
0
null
0
4
08e55ac89f51448ec8a654de3b393b9fb8d79add
166
Bag-Store
MIT License
src/lib/kotlin/slatekit-common/src/main/kotlin/slatekit/common/types/ContentFiles.kt
slatekit
55,942,000
false
null
/** * <slate_header> * url: www.slatekit.com * git: www.github.com/code-helix/slatekit * org: www.codehelix.co * author: <NAME> * copyright: 2016 CodeHelix Solutions Inc. * license: refer to website and/or github * about: A tool-kit, utility library and server-backend * mantra: Simplicity above all else * </s...
6
Kotlin
12
107
f8ae048bc7d19704a2558e1d02374e98782e7b47
1,695
slatekit
Apache License 2.0
app/src/main/java/hiendao/moviefinder/presentation/main/favorite/FavoriteScreen.kt
HienDao14
826,173,311
false
{"Kotlin": 469154}
package hiendao.moviefinder.presentation.main.favorite import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import andro...
0
Kotlin
1
0
7f3f66b7a169ece9b34c7488455654c08353ee2d
7,278
Movie-Discover
MIT License
DriverDataUI/src/main/java/com/drivequant/drivekit/ui/extension/TripExtension.kt
DriveQuantPublic
216,339,559
false
{"Kotlin": 1643694, "Java": 8753}
package com.drivequant.drivekit.ui.extension import android.app.Activity import android.content.Context import android.graphics.Typeface.BOLD import android.graphics.drawable.Drawable import android.text.Spannable import com.drivequant.drivekit.common.ui.DriveKitUI import com.drivequant.drivekit.common.ui.component.tr...
1
Kotlin
3
9
e7956263157c49aae8d6f993a558ea77d9658ee6
8,147
drivekit-ui-android
Apache License 2.0
common/kotlinx-coroutines-core-common/src/CoroutineDispatcher.kt
objcode
159,731,828
true
{"Kotlin": 1762279, "CSS": 8215, "Shell": 3255, "JavaScript": 2505, "Ruby": 1927, "HTML": 1675, "Java": 356, "Prolog": 299}
/* * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.experimental import kotlin.coroutines.experimental.* /** * Base class that shall be extended by all coroutine dispatcher implementations. * * The following standard implementati...
1
Kotlin
2
5
46741db4b0c2863475d5cc6fc75eafadd8e6199d
6,049
kotlinx.coroutines
Apache License 2.0
src/main/kotlin/org/jetbrains/teamcity/rest/models/agent/AgentPools.kt
JetBrains
321,975,548
false
{"Kotlin": 638039}
/** * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package org.jetbrains.teamcity.rest.models import com.google.gson.annotations.SerializedName import org.jetbrains.teamcity.rest.base.* import org.jet...
0
Kotlin
1
1
0e29bfb12d0d17c481c295d8ec89815a4a9fb0c2
1,444
teamcity-rest-auto-kotlin-client
Apache License 2.0
core/src/main/kotlin/com/oxviewer/core/source/Search.kt
0xViewer
127,707,384
false
null
/* * Copyright 2018 Hippo Seven * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
1
af449253143eb8594a5aeabe7396d4fc980fb9c4
2,916
0xviewer-core
Apache License 2.0
bpdm-orchestrator/src/main/kotlin/org/eclipse/tractusx/bpdm/orchestrator/config/TaskConfigProperties.kt
eclipse-tractusx
526,621,398
false
{"Kotlin": 1676770, "Smarty": 17727, "Dockerfile": 4173, "Java": 2019, "Shell": 1136, "Batchfile": 1123}
/******************************************************************************* * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are ma...
73
Kotlin
6
5
53f6fdcb82ca0398864d924c65e2f818ad843097
1,423
bpdm
Apache License 2.0
src/com/price_of_command/pc_CampaignEventListener.kt
atlanticaccent
409,181,802
false
null
package com.price_of_command import com.fs.starfarer.api.Global import com.fs.starfarer.api.campaign.BaseCampaignEventListener import com.fs.starfarer.api.characters.PersonAPI import com.fs.starfarer.api.combat.EngagementResultAPI import com.fs.starfarer.api.fleet.FleetMemberAPI import com.fs.starfarer.api.impl.campai...
0
Kotlin
0
0
a3944e87456d324ef645de79e988fb1c43013fc8
4,629
officer-expansion
The Unlicense
api-core/src/commonMain/kotlin/su/pank/yamusic/account/model/UserSettings.kt
pank-su
717,339,473
false
{"Kotlin": 82681}
package su.pank.yamusic.account.model import kotlinx.datetime.Instant import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonNames @Serializable data class UserSettings( var uid: Int? = null,...
4
Kotlin
0
4
3c80dad225f8bbfee32b1279feb52aaa70224ec4
1,698
yandex-music-api
MIT License
fearless-utils/src/main/java/jp/co/soramitsu/fearless_utils/encrypt/keypair/Keypair.kt
novasamatech
429,839,517
false
{"Kotlin": 642383, "Rust": 10890, "Java": 4260}
package jp.co.soramitsu.fearless_utils.encrypt.keypair interface Keypair { val privateKey: ByteArray val publicKey: ByteArray } class BaseKeypair( override val privateKey: ByteArray, override val publicKey: ByteArray ) : Keypair
4
Kotlin
5
5
c15e6567c62527611e25009e54b9896415799847
247
substrate-sdk-android
Apache License 2.0
app/src/main/java/com/ufpb/meuguia/model/Attraction.kt
Israelpsilva8246
844,104,278
false
{"Kotlin": 102658}
package com.ufpb.meuguia.model data class Attraction( val id: String, val name: String, val description: String, val map_link: String, val city: String, val state: String, val image_link: String, val fonte: String, val segmentations: List<TurismSegmentation>, val attractionTypes...
0
Kotlin
0
0
67ef335c4f98dbc2aaf21fe40a14eacbe9391175
384
app-meu-guiaPB
MIT License
app/src/main/java/com/ufpb/meuguia/model/Attraction.kt
Israelpsilva8246
844,104,278
false
{"Kotlin": 102658}
package com.ufpb.meuguia.model data class Attraction( val id: String, val name: String, val description: String, val map_link: String, val city: String, val state: String, val image_link: String, val fonte: String, val segmentations: List<TurismSegmentation>, val attractionTypes...
0
Kotlin
0
0
67ef335c4f98dbc2aaf21fe40a14eacbe9391175
384
app-meu-guiaPB
MIT License
src/test/kotlin/ui/frames/RequestsTabFrame.kt
prabint
569,996,326
false
{"Kotlin": 106093}
package ui.frames import com.intellij.remoterobot.RemoteRobot import com.intellij.remoterobot.data.RemoteComponent import com.intellij.remoterobot.fixtures.CommonContainerFixture import com.intellij.remoterobot.fixtures.DefaultXpath import com.intellij.remoterobot.fixtures.FixtureName import com.intellij.remoterobot.f...
1
Kotlin
1
4
351f86f158e38144ea2d561e82bf069765ab629b
2,337
api-bank
MIT License
sample/src/main/java/me/panpf/adapter/sample/vm/ListStatus.kt
jjzhoujun
239,247,760
true
{"Java": 205214, "Kotlin": 8596}
package me.panpf.adapter.sample.vm import androidx.lifecycle.MutableLiveData import androidx.paging.PagedList sealed class ListStatus class Initialize : ListStatus() class InitializeSuccess : ListStatus() class InitializError : ListStatus() class LoadMore : ListStatus() class LoadMoreSuccess : ListStatus() class Loa...
0
null
0
0
cd6995a8b903c88a52b2f9be8de7cd276636d6d6
1,005
assembly-adapter
Apache License 2.0
library/src/main/java/com/omega_r/bind/model/binders/LongClickBinder.kt
Omega-R
321,930,245
false
null
package com.omega_r.bind.model.binders import android.view.View import androidx.annotation.IdRes import com.omega_r.bind.model.BindModel open class LongClickBinder<M>( override val id: Int, private val block: (M) -> Boolean ) : Binder<View, M, Any>() { override fun bind(itemView: View, item: M) { ...
0
Kotlin
0
0
fd7a8c1a97e7dfadaa6fd2cc349e57f3b58b9a06
521
OmegaBind
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/NfcSlash.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,002
icons
MIT License
github-crawler-core/src/main/kotlin/com/societegenerale/githubcrawler/output/CIdroidReadyJsonFileOutput.kt
societe-generale
136,929,288
false
null
package com.societegenerale.githubcrawler.output import com.societegenerale.githubcrawler.model.Repository import org.slf4j.LoggerFactory import java.io.BufferedWriter import java.io.File import java.io.IOException import java.nio.charset.StandardCharsets import java.nio.file.Files import java.nio.file.OpenOption impo...
6
null
9
97
f25da66c6c64f2c167671f49129ff59c6ef74760
4,017
github-crawler
Apache License 2.0
comet-core/src/main/kotlin/ren/natsuyuk1/comet/service/RateLimitService.kt
StarWishsama
173,288,057
false
null
package ren.natsuyuk1.comet.service import io.ktor.http.* import kotlinx.serialization.Serializable import ren.natsuyuk1.comet.api.config.provider.PersistDataFile import ren.natsuyuk1.comet.utils.file.dataDirectory import java.io.File @Serializable enum class RateLimitAPI { GITHUB, GITLAB } object RateLimitD...
19
Kotlin
20
193
19ed20ec4003a37be3bc2dfc6b55a9e2548f0542
2,029
Comet-Bot
MIT License
compiler/testData/codegen/box/ranges/forIntRange.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box() : String { val a = arrayOfNulls<String>(3) a[0] = "a" a[1] = "b" a[2] = "c" var result = 0 for(i in a.indices) { result += i } if (result != 3) return "FAIL" return "OK" }
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
297
kotlin
Apache License 2.0
src/main/kotlin/com/terraformation/backend/documentproducer/model/EditHistoryModel.kt
terraware
323,722,525
false
{"Kotlin": 5843459, "HTML": 133192, "Python": 46250, "FreeMarker": 21464, "PLpgSQL": 20103, "Makefile": 746, "Dockerfile": 667, "JavaScript": 380}
package com.terraformation.backend.documentproducer.model import com.terraformation.backend.db.default_schema.UserId import java.time.Instant data class EditHistoryModel( val createdBy: UserId, val createdTime: Instant, )
13
Kotlin
1
10
ca95570ed954e9032b6c083b1bf0805c5845e25a
232
terraware-server
Apache License 2.0
src/main/java/io/github/ackeecz/danger/commitlint/checkers/SubjectLengthRuleChecker.kt
AckeeCZ
276,617,694
false
null
package io.github.ackeecz.danger.commitlint.checkers import io.github.ackeecz.danger.commitlint.Commit internal class SubjectLengthRuleChecker : RuleChecker() { override fun check(commits: List<Commit>) { commits.filter { it.message.subject != null } .forEach { commit -> if (c...
0
Kotlin
0
3
5b5242058aac330d893769726e853f39bce306ac
604
danger-kotlin-commit-lint
Apache License 2.0
client/src/commonMain/kotlin/com/github/mustafaozhan/ccc/client/viewmodel/calculator/CalculatorSEED.kt
CurrencyConverterCalculator
102,633,334
false
null
package com.github.mustafaozhan.ccc.client.viewmodel.calculator import com.github.mustafaozhan.ccc.client.base.BaseData import com.github.mustafaozhan.ccc.client.base.BaseEffect import com.github.mustafaozhan.ccc.client.base.BaseEvent import com.github.mustafaozhan.ccc.client.base.BaseState import com.github.mustafaoz...
13
null
19
159
f7bf710bbed7a67dfb3c1c24e0de096abbc6888c
2,470
CCC
Apache License 2.0
app/src/main/java/com/mincor/kodiexample/providers/ProviderUtils.kt
Rasalexman
141,794,793
false
null
package com.mincor.kodiexample.providers import android.content.Context import coil.ImageLoader import coil.util.CoilUtils import com.mincor.kodiexample.common.Consts import com.mincor.kodiexample.providers.network.api.IMovieApi import com.mincor.kodiexample.providers.network.createWebServiceApi import com.rasalexman....
0
null
3
11
12e2780c29ca3a3642094f82e72078bf39d5d908
1,210
KODI
MIT License
arrangor/src/main/kotlin/no/nav/amt/tiltak/ansatt/ArrangorAnsattRepository.kt
navikt
393,356,849
false
null
package no.nav.amt.tiltak.ansatt import no.nav.amt.tiltak.common.db_utils.DbUtils.sqlParameters import no.nav.amt.tiltak.common.db_utils.getLocalDateTime import no.nav.amt.tiltak.common.db_utils.getUUID import no.nav.amt.tiltak.core.domain.tilgangskontroll.ArrangorAnsattRolle import org.springframework.jdbc.core.RowMa...
3
Kotlin
3
3
871b71af7e7aa7da177f7e7c77b554c7cbdd17f0
4,914
amt-tiltak
MIT License
valuedef-compiler-idea/src/main/kotlin/com/bennyhuo/kotlin/valuedef/idea/ValueDefModelBuilder.kt
bennyhuo
439,819,685
false
null
package com.bennyhuo.kotlin.valuedef.idea import com.bennyhuo.kotlin.valuedef.BuildConfig import org.gradle.api.Project import org.jetbrains.kotlin.idea.gradleTooling.AbstractKotlinGradleModelBuilder import org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder import java.io.Serializable import java.lang.Exception ...
0
Kotlin
0
4
5b5ebfe900e25372d3c076b24dfb175945866a38
1,222
KotlinValueDef
MIT License
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/dotnet/commands/test/splitting/byTestName/TestsSplittingByNamesSaver.kt
JetBrains
49,584,664
false
{"Kotlin": 2624677, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123}
package jetbrains.buildServer.dotnet.commands.test.splitting.byTestName interface TestsSplittingByNamesSaver { fun tryToSave(presumablyTestNameLine: String) }
3
Kotlin
25
94
9665e2ac5c4e70b3b50b95275346cce1f95574d5
165
teamcity-dotnet-plugin
Apache License 2.0
plugin/src/main/java/net/bytemc/bytecloud/plugin/plattform/bungeecord/BungeeCordPlatformBootstrap.kt
bytemcnetzwerk
684,494,766
false
{"Kotlin": 163692}
package net.bytemc.bytecloud.plugin.plattform.bungeecord import net.md_5.bungee.api.ProxyServer import net.md_5.bungee.api.plugin.Plugin class BungeeCordPlatformBootstrap : Plugin() { override fun onEnable() { ProxyServer.getInstance().servers.clear() } override fun onDisable() { } }
2
Kotlin
3
5
45151c0f561b822a3baec171a8b1419582d90426
313
bytecloud
Apache License 2.0
core/src/commonTest/kotlin/co/nimblehq/jsonapi/json/JsonApiTest.kt
nimblehq
539,351,996
false
{"Kotlin": 29329}
package co.nimblehq.jsonapi import co.nimblehq.jsonapi.helpers.mock.NetworkIncludedMockModel import co.nimblehq.jsonapi.helpers.mock.NetworkMetaMockModel import co.nimblehq.jsonapi.helpers.mock.NetworkMockModel import co.nimblehq.jsonapi.helpers.mock.NetworkOnlyMetaMockModel import co.nimblehq.jsonapi.json.JsonApi imp...
0
Kotlin
2
3
bdbf40200827b626867db8e15924486036cf00aa
4,324
jsonapi-kotlin
MIT License
app/src/main/java/com/sedsoftware/yaptalker/presentation/features/imagedisplay/di/ImageDisplayActivityModule.kt
EitlerPereira
115,528,632
true
{"Kotlin": 350092, "Shell": 1229, "IDL": 510, "Prolog": 237, "CSS": 50}
package com.sedsoftware.yaptalker.presentation.features.imagedisplay.di import dagger.Module @Module class ImageDisplayActivityModule
0
Kotlin
0
0
e90fd7f7ed3024e1a58f9f8e0e1ba01cd986bcd1
136
YapTalker
Apache License 2.0
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/lower/ToArrayLowering.kt
evant
277,371,822
true
{"Kotlin": 44780046, "Java": 7640484, "JavaScript": 195805, "HTML": 76860, "Lex": 23805, "TypeScript": 21613, "Groovy": 11198, "CSS": 9144, "Shell": 7220, "Batchfile": 5362, "Swift": 2272, "Ruby": 1300, "Objective-C": 404, "Scala": 80}
/* * Copyright 2010-2018 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.backend.jvm.lower import org.jetbrains.kotlin.backend.common.ClassLoweringPass i...
0
null
0
1
fb1d4e01ed9b6f45d9886fcc697197591cf8b67c
10,978
kotlin
Apache License 2.0
domain/src/main/java/com/anytypeio/anytype/domain/object/UpdateDetail.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.domain.`object` import com.anytypeio.anytype.core_models.Id import com.anytypeio.anytype.core_models.Payload import com.anytypeio.anytype.domain.base.BaseUseCase import com.anytypeio.anytype.domain.block.repo.BlockRepository // TODO rename to SetObjectDetails class UpdateDetail(private v...
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
694
anytype-kotlin
RSA Message-Digest License
app/src/main/java/com/masrofy/screens/onboarding/OnboardingViewModel.kt
salmanA169
589,714,976
false
null
package com.masrofy.screens.onboarding import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.masrofy.ONBOARDING_IS_FIRST_TIME import com.masrofy.O...
2
Kotlin
1
9
fb671fc1e2c628fb467bca9d3109799b3e1d43f2
4,564
masrofy
Apache License 2.0
src/Day07.kt
shoresea
576,381,520
false
{"Kotlin": 29960}
import java.util.* fun main() { fun getDirectories(root: Directory): List<Directory> { val directories = ArrayList<Directory>() val queue = Stack<Directory>() queue.add(root) while (queue.isNotEmpty()) { val current = queue.pop() directories.add(current) ...
0
Kotlin
0
0
e5d21eac78fcd4f1c469faa2967a4fd9aa197b0e
2,909
AOC2022InKotlin
Apache License 2.0
app/src/main/java/com/silverpine/uu/sample/bluetooth/viewmodel/BaseViewModel.kt
SilverPineSoftware
594,244,294
false
{"Kotlin": 322495, "Shell": 10612}
package com.silverpine.uu.sample.bluetooth.viewmodel import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.silverpine.uu.core.uuDispatchMain import com.silverpine.uu.ux.UUAlert...
0
Kotlin
0
0
64fdc8440c0eae9a66b5355ef6462d6cbf2eb705
1,017
UUKotlinBluetooth
MIT License
mvvm-dagger/src/main/java/com/nphau/android/shared/common/ParameterizedSingleton.kt
ThanhHuong98
432,947,065
false
{"Kotlin": 165721, "Java": 1330, "Shell": 87}
/* * Created by nphau on 31/10/2021, 21:47 * Copyright (c) 2021 . All rights reserved. * Last modified 31/10/2021, 21:37 */ package com.nphau.android.shared.common open class ParameterizedSingleton<out T, in A>(creator: (A) -> T) { private var creator: ((A) -> T)? = creator @Volatile private var ins...
0
null
0
1
ac0402ae4734285ef5e647d1f53a1f9f4a8d98cd
834
android.clean-architecture.mvvm
Apache License 2.0
build-logic/src/main/kotlin/JvmJUnit4Plugin.kt
duckie-team
557,999,746
false
{"Kotlin": 115491}
/* * Designed and developed by 2022 <NAME>. * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/ApiLibrary/blob/trunk/LICENSE */ import land.sungbin.apilibrary.convention.androidTestImplementations import land.sungbin.apilibrary.convention.libs import land.sungbin.apilibrary.conv...
11
Kotlin
0
4
157f41d6dc98b00c71ee1c2390567a38f495d94f
1,291
ApiLibrary
MIT License
idea/src/org/jetbrains/kotlin/idea/quickfix/ReplaceModifierFix.kt
JetBrains
278,369,660
false
null
// Copyright 2000-2022 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 org.jetbrains.kotlin.idea.quickfix import com.intellij.codeInsight.intention.IntentionAction import com.intellij.openapi.editor.Editor import com.intel...
191
Kotlin
4372
82
cc81d7505bc3e9ad503d706998ae8026c067e838
2,136
intellij-kotlin
Apache License 2.0
kotlin-utility-spring-boot/src/main/kotlin/com/windea/utility/springboot/security/jwt/JwtProperties.kt
DragonKnightOfBreeze
189,628,889
false
null
package com.windea.utility.springboot.security.jwt import org.springframework.boot.context.properties.* /**Jwt的属性类。*/ @ConfigurationProperties("com.windea.security.jwt") class JwtProperties { /**jwt口令的请求头。*/ var tokenHeader: String = "Authorization" /**jwt口令的开头。*/ var tokenHead: String = "Bearer " /**jwt密钥。*...
0
Kotlin
0
0
93b18f66beb64eb46cdd4c55b08c27c58a84c9cb
399
Kotlin-Utility
MIT License
android/src/test/java/com/jdamcd/runlog/android/util/ModelFixture.kt
jdamcd
308,253,514
false
null
package com.jdamcd.runlog.android.util import com.jdamcd.runlog.shared.ActivityCard val activityCard = ActivityCard( id = 123, name = "cool run", type = "run", label = null, distance = "10.3k", time = "40:00" )
0
Kotlin
0
20
a620723359db57bb59981f6ba5f648ea56dfe490
237
runlog-kmm
MIT License
composeApp/src/commonMain/kotlin/ui/pages/cali/InfoPage.kt
edsonDeCavalho
812,314,880
false
{"Kotlin": 57707, "Swift": 721, "HTML": 305}
package ui.pages.cali import MainViewModel import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx....
0
Kotlin
0
1
d2d9d329068c2f326e23519f6327fefa3777d795
5,320
Demo_KMP_Room_database
MIT License
src/main/kotlin/no/nav/familie/ks/sak/config/featureToggle/FeatureToggleConfig.kt
navikt
533,308,075
false
{"Kotlin": 3819299, "Gherkin": 192343, "Shell": 1839, "Dockerfile": 467}
package no.nav.familie.ks.sak.config.featureToggle class FeatureToggleConfig { companion object { // Operasjonelle const val TEKNISK_VEDLIKEHOLD_HENLEGGELSE = "familie-ks-sak.teknisk-vedlikehold-henleggelse.tilgangsstyring" const val TEKNISK_ENDRING = "familie-ks-sak.behandling.teknisk-endr...
8
Kotlin
1
2
c39fb12189c468a433ca2920b1aa0f5509b23d54
1,031
familie-ks-sak
MIT License