path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/hexogen/collections/MutableList.kt
MiloszKrajewski
69,406,892
false
null
package hexogen.collections fun <T> MutableList<T>.swap(x: Int, y: Int) { val t = this[x] this[x] = this[y] this[y] = t } fun <T> MutableList<T>.shuffle() { fun random(range: Int) = Math.floor((Math.random() * range) + 1.0) for (i in size - 1 downTo 0) swap(i, random(i)) } fun <T> Sequence<T>.shu...
0
Kotlin
0
1
ea163f49d26ef0651fafb28e0271134be9ea535c
405
kotlinjs-hexagen
MIT License
src/main/kotlin/hexogen/collections/MutableList.kt
MiloszKrajewski
69,406,892
false
null
package hexogen.collections fun <T> MutableList<T>.swap(x: Int, y: Int) { val t = this[x] this[x] = this[y] this[y] = t } fun <T> MutableList<T>.shuffle() { fun random(range: Int) = Math.floor((Math.random() * range) + 1.0) for (i in size - 1 downTo 0) swap(i, random(i)) } fun <T> Sequence<T>.shu...
0
Kotlin
0
1
ea163f49d26ef0651fafb28e0271134be9ea535c
405
kotlinjs-hexagen
MIT License
src/test/kotlin/no/nav/brukerdialog/ytelse/omsorgspengermidlertidigalene/api/OmsorgspengerMidlertidigAleneControllerTest.kt
navikt
585,578,757
false
{"Kotlin": 1385043, "Handlebars": 125407, "Dockerfile": 98}
package no.nav.brukerdialog.ytelse.omsorgspengermidlertidigalene.api import com.fasterxml.jackson.databind.ObjectMapper import com.ninjasquad.springmockk.MockkBean import io.mockk.coEvery import io.mockk.every import no.nav.brukerdialog.domenetjenester.innsending.InnsendingCache import no.nav.brukerdialog.domenetjenes...
2
Kotlin
0
0
c8a49d3867ff40fda6bceabe28a736bbec15d048
10,053
k9-brukerdialog-prosessering
MIT License
kalexa-core/src/main/kotlin/com/hp/kalexa/core/intent/HelpIntentHandler.kt
HPInc
164,478,295
false
null
/* * Copyright 2018 HP Development Company, L.P. * SPDX-License-Identifier: MIT */ package com.hp.kalexa.core.intent import com.hp.kalexa.core.util.IntentUtil import com.hp.kalexa.model.request.AlexaRequest import com.hp.kalexa.model.request.IntentRequest import com.hp.kalexa.model.response.AlexaResponse interfac...
0
Kotlin
1
17
e6674eeb24c255aef1859a62a65b805effdc9676
556
kalexa-sdk
MIT License
app/src/main/java/com/example/myshoppingapp/di/RepositoryModule.kt
dororon78
582,514,430
false
{"Kotlin": 101283}
package com.example.myshoppingapp.di import com.example.myshoppingapp.data.externalapp.ExternalAppRepositoryImpl import com.example.myshoppingapp.data.shoppingitem.ShoppingListRepositoryImpl import com.example.myshoppingapp.domain.repository.ExternalAppRepository import com.example.myshoppingapp.domain.repository.Shop...
0
Kotlin
0
0
ab07623957af5730bd4efec90c9ff9e5af65f2f4
867
myShoppingApp
MIT License
app/src/main/java/evtomak/iu/edu/notesapp/NoteDatabase.kt
evan2mak
702,564,439
false
{"Kotlin": 16101}
package evtomak.iu.edu.notesapp import android.content.Context import android.util.Log import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase /** * Room database for storing notes. */ @Database(entities = [Note::class], version = 1, exportSchema = false) abstract class NoteDatabas...
0
Kotlin
0
0
952399906fec2352e7979bfbc929f08dd704ed4b
1,379
NotesApp
Apache License 2.0
core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/ReducePlugin.kt
respawn-app
477,143,989
false
null
package pro.respawn.flowmvi.plugins import pro.respawn.flowmvi.api.FlowMVIDSL import pro.respawn.flowmvi.api.MVIAction import pro.respawn.flowmvi.api.MVIIntent import pro.respawn.flowmvi.api.MVIState import pro.respawn.flowmvi.api.PipelineContext import pro.respawn.flowmvi.api.StorePlugin import pro.respawn.flowmvi.ds...
10
Kotlin
2
75
5636ce54d271b1b3d4925011cee739233a36379d
2,272
FlowMVI
Apache License 2.0
sdks/kotlin/treasury/ListTransactionsResponseKt.kt
knox-networks
595,429,463
false
{"Rust": 17246636, "C++": 6138133, "C#": 3083132, "JavaScript": 2183132, "TypeScript": 1665259, "Kotlin": 1249671}
// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: treasury/v1/treasury.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package treasury; @kotlin.jvm.JvmName("-initializelistTransactionsResponse") public inline fun listTran...
0
Rust
1
0
16af58a5dc1e9e51859be4a6e0f6791b7adcb2f2
6,279
grpc-sdks
Apache License 2.0
educational-core/src/com/jetbrains/edu/learning/codeforces/ChooseCodeforcesContestLanguagesDialog.kt
moglideveloper
400,282,632
true
{"Kotlin": 3347347, "HTML": 997457, "Java": 551594, "CSS": 12158, "Python": 5553, "JavaScript": 315}
package com.jetbrains.edu.learning.codeforces import com.intellij.openapi.ui.ComboBox import com.intellij.openapi.ui.DialogWrapper import com.intellij.ui.layout.* import com.intellij.util.ui.JBUI import com.jetbrains.edu.coursecreator.getDefaultLanguageId import javax.swing.JCheckBox import javax.swing.JComponent // ...
0
null
0
0
687e434cb8499476729c055d1e947a31491bb999
2,790
educational-plugin
Apache License 2.0
src/main/kotlin/com/github/gbrowser/ui/toolwindow/base/toolwindowUtils.kt
edgafner
294,787,892
false
{"Kotlin": 118488}
package com.github.gbrowser.ui.toolwindow.base import com.intellij.openapi.wm.ToolWindow import com.intellij.openapi.wm.ex.ToolWindowEx fun ToolWindow.dontHideOnEmptyContent() { setToHideOnEmptyContent(false) (this as? ToolWindowEx)?.emptyText?.text = "" }
11
Kotlin
16
59
8a36250d6520eddad561b71ea95cdd69d752e0ba
262
GBrowser
Apache License 2.0
covithon/Tech-Warriors/android-app/app/src/main/java/com/example/shoptokapplication/response/registration/User.kt
joshsoftware
271,242,885
false
{"Ruby": 265290, "HTML": 251842, "JavaScript": 221823, "CSS": 129836, "Kotlin": 110240, "Java": 103846, "Objective-C": 3653, "Starlark": 1932, "Dockerfile": 250}
package com.example.shoptokapplication.response.registration data class User( val created_at: String, val device_id: String, val id: Int, val is_active: Boolean, val mobile_number: String, val name: Any, val role_id: Int, val updated_at: String )
83
Ruby
1
0
a0d3c99ceea9879abbc1180c0e373c9143af935c
279
Hackathons
MIT License
libs/pandautils/src/main/java/com/instructure/pandautils/compose/composables/CanvasThemedTextField.kt
instructure
179,290,947
false
{"Kotlin": 16415961, "Dart": 4454406, "HTML": 185120, "Ruby": 35686, "Java": 24752, "Shell": 19157, "Groovy": 11717, "JavaScript": 9505, "Objective-C": 7431, "Python": 2438, "CSS": 1356, "Swift": 807, "Dockerfile": 112}
/* * Copyright (C) 2024 - present Instructure, Inc. * * 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 requ...
7
Kotlin
102
127
ca6e2aeaeedb851003af5497e64c22e02dbf0db8
4,869
canvas-android
Apache License 2.0
buildSrc/src/main/kotlin/Versions.kt
KakaoCup
370,697,938
false
null
import java.io.File object Versions { val kakaoVersion = File("buildsystem/version").readText().trim() val gmapsVersion = File("buildsystem/gmapsversion").readText().trim() val kotlin = "1.4.32" val detekt = "1.17.1" val dokka = "1.4.32" val android_gradle = "4.2.1" val maven = "1.5" ...
9
null
22
267
0f98ab56a73c664573eedc4ea8968e2899764c36
2,891
Kakao
Apache License 2.0
stratix-demo-webapp/src/main/kotlin/com/stratix/demo/AppConfig.kt
ReedNewman
185,876,789
false
null
package com.stratix.demo import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.DeserializationFeature import com.mongodb.* import com.mongodb.client.MongoDatabase import io.tekniq.config.* import org.litote.kmongo.* import org.litote.kmongo.util.KMongoConfiguration import org.slf4j....
1
Kotlin
0
1
5f79ec35fba8a44680b709646a89f480cbbe9ade
2,543
stratix-demo
MIT License
vector/src/main/java/im/vector/app/features/settings/devices/GetCurrentSessionCrossSigningInfoUseCase.kt
tchapgouv
340,329,238
false
null
/* * Copyright (c) 2022 New Vector Ltd * * 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 agr...
75
Kotlin
6
9
82fea8dbcfe8c29fb318dc55b65d62e0f131c512
1,549
tchap-android
Apache License 2.0
src/main/kotlin/ccaominh/Parser.kt
ccaominh
231,693,312
false
null
/* * Copyright 2020-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
1
Kotlin
1
2
f89445144886fe86fe5c8ec744c97312d3ebbc88
4,554
intellij-inspect
Apache License 2.0
canvas/src/main/java/com/angcyo/canvas/items/data/DataTextItem.kt
angcyo
229,037,615
false
null
package com.angcyo.canvas.items.data import android.graphics.Color import android.graphics.Paint import android.graphics.Rect import android.graphics.Typeface import android.widget.LinearLayout import com.angcyo.canvas.Strategy import com.angcyo.canvas.data.* import com.angcyo.canvas.graphics.TextGraphicsParser import...
0
Kotlin
4
3
3b120da88d3998d96b229c0773f8bd15604a5dd6
13,749
UICore
MIT License
app/src/main/java/app/storytel/candidate/com/repositories/NetworkBoundResource.kt
Orofu
343,555,172
false
null
package app.storytel.candidate.com.repositories import androidx.lifecycle.* import app.storytel.candidate.com.network.Resource import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.suspendCancellableCoroutine import kotlinx.coroutines.withContext import retrofit2.Response import java.lang.Exception import ko...
0
Kotlin
0
0
6bb98aaf16bf9bd1b15f5e991341ff324a1e7590
3,534
StorytelJobCandidate
Apache License 2.0
intellij-plugin-verifier/verifier-core/src/main/java/com/jetbrains/pluginverifier/verifiers/filter/ApiUsageFilter.kt
JetBrains
3,686,654
false
{"Kotlin": 2524497, "Java": 253600, "CSS": 1454, "JavaScript": 692}
/* * Copyright 2000-2024 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.jetbrains.pluginverifier.verifiers.filter import com.jetbrains.pluginverifier.results.reference.ClassReference import com.jetbrains.pl...
6
Kotlin
38
178
4deec2e4e08c9ee4ce087697ef80b8b327703548
1,366
intellij-plugin-verifier
Apache License 2.0
src/main/kotlin/venus/assembler/pseudos/SLTZ.kt
ics-jku
470,084,492
false
null
package venus.assembler.pseudos import venus.assembler.AssemblerPassTwo import venus.assembler.LineTokens import venus.assembler.PseudoWriter /** Writes pseudoinstruction `sltz rd, rs` */ object SLTZ : PseudoWriter() { override operator fun invoke(args: LineTokens, state: AssemblerPassTwo): List<LineTokens> { ...
1
null
1
4
429d323b98a33db67074e44f164c8d1044f406de
419
venus
MIT License
app-api/src/main/kotlin/dfialho/yaem/app/api/Transaction.kt
dfialho
152,736,972
false
null
package dfialho.yaem.app.api import dfialho.yaem.app.api.serializers.InstantSerializer import kotlinx.serialization.Serializable import java.time.Instant @Serializable data class Transaction( val amount: Double, val receiver: ID, val sender: ID? = null, val description: String = "", @Serializable(...
2
Kotlin
0
0
a9acc5b14a269021be68425abd8350d245728a33
423
yaem
MIT License
app/src/main/java/com/example/notesapp/NoteAdapter.kt
magacek
702,648,551
false
{"Kotlin": 11971}
package com.example.notesapp import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.ImageButton import android.widget.TextView import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androi...
0
Kotlin
0
0
cc5ba11360679865e939069788685657d9c6e3d7
2,137
NotesApp
Apache License 2.0
app/src/main/java/com/videochat/presentation/model/UiState.kt
atakanozkan
850,938,910
false
{"Kotlin": 128837, "Java": 33555}
package com.videochat.domain.model sealed class UiState { object NoChange : UiState() object Loading : UiState() object Success : UiState() data class Error(val message: String) : UiState() }
0
Kotlin
0
1
e3b19616d2d10d395d3ab78895ea1c2cc0ccad58
210
videochatapp
MIT License
sample/src/androidTest/java/info/hannes/logcat/ToFileTest.kt
AppDevNext
172,229,474
false
null
package info.hannes.logcat import android.Manifest import androidx.test.espresso.Espresso.onView import androidx.test.espresso.assertion.ViewAssertions import androidx.test.espresso.matcher.ViewMatchers.* import androidx.test.ext.junit.rules.ActivityScenarioRule import androidx.test.ext.junit.runners.AndroidJUnit4 imp...
4
Kotlin
2
4
c79886a62e4821da581aa2da910bfb47e2c1fb4f
1,660
Logcat
Apache License 2.0
kanvas/src/commonTest/kotlin/svg/SvgTests.kt
JuulLabs
202,805,795
false
null
package com.juul.krayon.kanvas.svg import com.juul.krayon.color.black import com.juul.krayon.color.blue import com.juul.krayon.color.green import com.juul.krayon.color.lime import com.juul.krayon.color.red import com.juul.krayon.color.white import com.juul.krayon.kanvas.Clip import com.juul.krayon.kanvas.Font import c...
9
Kotlin
1
8
ba3e9d8849d48b67b70422cbcf3e5c7c4bf6e8f6
4,071
krayon
Apache License 2.0
app/src/test/java/org/simple/clinic/monthlyreports/list/MonthlyReportsUiRendererTest.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.monthlyreports.list import org.mockito.kotlin.mock import org.mockito.kotlin.verify import org.mockito.kotlin.verifyNoMoreInteractions import org.junit.Test import org.simple.sharedTestCode.TestData import java.util.UUID class MonthlyReportsUiRendererTest { private val ui = mock<MonthlyRe...
4
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
1,359
simple-android
MIT License
NFC-EMV-Adaptor/src/test/java/com/github/shham12/nfc_emv_adaptor/iso7816emv/parser/IssuerPublicKeyDecoderTest.kt
SHHam12
814,926,240
false
{"Kotlin": 170269, "Java": 6264}
package com.github.shham12.nfc_emv_adaptor.iso7816emv.parser import com.github.shham12.nfc_emv_adaptor.iso7816emv.impl.CaPublicKey import com.github.shham12.nfc_emv_adaptor.iso7816emv.model.EMVTransactionRecord import com.github.shham12.nfc_emv_adaptor.parser.IssuerPublicKeyDecoder import com.github.shham12.nfc_emv_ad...
0
Kotlin
2
5
982c0d0ba7a3e7ce910142b9fb2ce9c8ce6b618d
2,687
NFC-EMV-Adaptor
MIT License
src/commonTest/kotlin/org/angproj/aux/pipe/PullBinaryTest.kt
angelos-project
677,039,667
false
{"Kotlin": 1007119, "Python": 196308}
/** * Copyright (c) 2024 by <NAME> <<EMAIL>>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org/licenses/MIT * * SPDX-License-Iden...
0
Kotlin
0
0
b8102e24b565edc0adbd459a68d7e2e08e46669c
2,667
angelos-project-aux
MIT License
sample/wallet/src/main/kotlin/com/reown/sample/wallet/ui/routes/dialog_routes/session_proposal/SessionProposalViewModel.kt
reown-com
851,466,242
false
{"Kotlin": 2055654, "Java": 4294, "Shell": 1676}
package com.reown.sample.wallet.ui.routes.dialog_routes.session_proposal import androidx.lifecycle.ViewModel import com.google.firebase.crashlytics.ktx.crashlytics import com.google.firebase.ktx.Firebase import com.reown.sample.wallet.domain.WCDelegate import com.reown.sample.wallet.ui.common.peer.PeerUI import com.re...
6
Kotlin
1
8
893084b3df91b47daa77f8f964e37f84a02843b1
4,180
reown-kotlin
Apache License 2.0
schema-kenerator-reflection/src/main/kotlin/io/github/smiley4/schemakenerator/reflection/steps.kt
SMILEY4
729,430,513
false
{"Kotlin": 478582}
package io.github.smiley4.schemakenerator.reflection import io.github.smiley4.schemakenerator.core.data.BaseTypeData import io.github.smiley4.schemakenerator.core.data.Bundle import io.github.smiley4.schemakenerator.core.data.PrimitiveTypeData import io.github.smiley4.schemakenerator.core.data.PropertyType import io.g...
0
Kotlin
0
0
d141cdeeaeca34165bf8302cae69054f3f9dd2da
4,241
schema-kenerator
Apache License 2.0
src/main/kotlin/io/demo/paymentsystem/dao/mapper/UserMapper.kt
AnkBurov
183,963,890
false
null
package io.demo.paymentsystem.dao.mapper import io.demo.paymentsystem.api.User import org.jdbi.v3.core.mapper.RowMapper import org.jdbi.v3.core.statement.StatementContext import java.sql.ResultSet object UserMapper : RowMapper<User> { override fun map(rs: ResultSet, ctx: StatementContext): User { return U...
0
Kotlin
0
0
e8da12a5ab60b29478d7c694dbd3ad627c2b2592
488
yet-another-payment-system
Apache License 2.0
plugins/package-search/maven/src/com/jetbrains/packagesearch/intellij/plugin/maven/MavenPackageVersionRangeInspection.kt
ingokegel
72,937,917
true
null
/******************************************************************************* * Copyright 2000-2022 JetBrains s.r.o. and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
214
null
4829
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,657
intellij-community
Apache License 2.0
app/src/tv/kotlin/app/newproj/lbrytv/ui/guidance/GuidedStepSupportFragment.kt
linimin
434,503,024
false
null
/* * MIT License * * Copyright (c) 2022 <NAME> * * 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 restriction, including without limitation the rights * to use, copy, modify, m...
7
Kotlin
3
23
75bed7e7bae0b1ddaa2b5356b82dbec62c25776e
2,899
lbry-androidtv
MIT License
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/ssm/CfnMaintenanceWindowTaskLoggingInfoPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION") package cloudshift.awscdk.dsl.services.ssm import cloudshift.awscdk.common.CdkDslMarker import software.amazon.awscdk.services.ssm.CfnM...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
2,627
awscdk-dsl-kotlin
Apache License 2.0
android/beagle/src/test/java/br/com/zup/beagle/engine/renderer/ui/ListViewRendererTest.kt
thosantunes
269,216,984
true
{"Kotlin": 1067509, "Swift": 638142, "C++": 262909, "Objective-C": 58562, "Java": 26545, "Ruby": 17188, "Shell": 1780, "C": 1109}
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
0
null
0
1
046531e96d0384ae2917b0fd790f09d1a8142912
3,225
beagle
Apache License 2.0
src/test/kotlin/no/nav/familie/ef/iverksett/økonomi/UtbetalingsoppdragGeneratorTest.kt
navikt
357,821,728
false
null
package no.nav.familie.ef.iverksett.økonomi import no.nav.familie.ef.iverksett.iverksetting.domene.AndelTilkjentYtelse import no.nav.familie.ef.iverksett.iverksetting.domene.TilkjentYtelse import no.nav.familie.ef.iverksett.iverksetting.domene.TilkjentYtelseMedMetaData import no.nav.familie.ef.iverksett.økonomi.utbeta...
12
Kotlin
0
0
9785e50dc2f1dbc65ef4ab60e23282504f7a85b0
10,859
familie-ef-iverksett
MIT License
src/test/enhetstester/kotlin/no/nav/familie/ba/sak/kjerne/beregning/BeregningTestUtils.kt
navikt
224,639,942
false
null
package no.nav.familie.ba.sak.kjerne.beregning import no.nav.familie.kontrakter.felles.oppdrag.Opphør import no.nav.familie.kontrakter.felles.oppdrag.Utbetalingsoppdrag import no.nav.familie.kontrakter.felles.oppdrag.Utbetalingsperiode import java.math.BigDecimal import java.time.LocalDate import java.time.LocalDateTi...
8
Kotlin
1
9
7b881e34cc5c5b689a407ca62e922efacf983520
5,283
familie-ba-sak
MIT License
app/src/main/java/com/study/riseof/shopkotlin/activity/BaseActivity.kt
MyAndroidProjects
175,351,219
false
null
package com.study.riseof.shopkotlin.activity import android.os.Build import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import android.view.MenuItem import android.view.WindowManager abstract class BaseActivity : AppCompatActivity() { override fun on...
0
Kotlin
0
0
4157bd92b6c755213ab2754a71ba24e269ce5c2b
2,228
ShopKotlin
MIT License
app/src/main/java/com/eyther/lumbridge/usecase/user/mortgage/SaveUserMortgage.kt
ruialmeida51
249,223,684
false
{"Kotlin": 687400}
package com.eyther.lumbridge.usecase.user.mortgage import com.eyther.lumbridge.domain.repository.user.UserRepository import com.eyther.lumbridge.mapper.user.toDomain import com.eyther.lumbridge.model.user.UserMortgageUi import javax.inject.Inject class SaveUserMortgage @Inject constructor( private val userReposit...
8
Kotlin
0
7
8e35f83c34e4b29eae1b048d3fda6aaa81b04858
479
lumbridge-android
MIT License
domain/src/main/java/com/eyther/lumbridge/domain/repository/shopping/ShoppingRepository.kt
ruialmeida51
249,223,684
false
{"Kotlin": 904675}
package com.eyther.lumbridge.domain.repository.shopping import com.eyther.lumbridge.data.datasource.shopping.local.ShoppingLocalDataSource import com.eyther.lumbridge.domain.mapper.shopping.toCached import com.eyther.lumbridge.domain.mapper.shopping.toDomain import com.eyther.lumbridge.domain.model.shopping.ShoppingLi...
6
Kotlin
0
7
5dd18b22448b2435f0238cccfc11a6826f200748
1,284
lumbridge-android
MIT License
common/collection/src/test/kotlin/com/curtislb/adventofcode/common/collection/MinAndMaxTest.kt
curtislb
226,797,689
false
null
package com.curtislb.adventofcode.common.collection import kotlin.math.abs import kotlin.test.assertEquals import kotlin.test.assertNull import org.junit.jupiter.api.Test /** * Tests [minAndMaxByOrNull] and [minAndMaxOfOrNull]. */ class MinAndMaxTest { @Test fun testMinAndMaxByOrNull() { assertNull(...
0
Kotlin
1
1
e9ef1f42e245d730edeb0ebec57de515992d84e5
2,412
AdventOfCode
MIT License
services/hanke-service/src/test/kotlin/fi/hel/haitaton/hanke/factory/ApplicationAttachmentFactory.kt
City-of-Helsinki
300,534,352
false
{"Kotlin": 1358730, "Python": 61622, "Mustache": 60127, "Shell": 26923, "Batchfile": 5169, "Dockerfile": 967, "PLpgSQL": 555}
package fi.hel.haitaton.hanke.factory import fi.hel.haitaton.hanke.attachment.DUMMY_DATA import fi.hel.haitaton.hanke.attachment.USERNAME import fi.hel.haitaton.hanke.attachment.application.ApplicationAttachmentContentService import fi.hel.haitaton.hanke.attachment.common.ApplicationAttachmentEntity import fi.hel.hait...
12
Kotlin
5
3
05499819c5fceb1f7b2616886a2abbf18f36a5dc
3,436
haitaton-backend
MIT License
ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/cdr/domain/SignedData.kt
IZIVIA
497,830,391
false
null
package com.izivia.ocpi.toolkit.modules.cdr.domain import com.izivia.ocpi.toolkit.annotations.Partial import com.izivia.ocpi.toolkit.common.CiString /** * This class contains all the information of the signed data. Which encoding method is used, if needed, the public key and a list of signed values. * @property enc...
19
null
8
24
8e9f7a873242046bad248bce6c0d9296e02999dc
1,063
ocpi-toolkit
MIT License
crunchycalendar/src/main/java/ru/cleverpumpkin/calendar/extension/ContextExtenison.kt
CleverPumpkin
134,849,459
false
{"Kotlin": 141160}
package ru.cleverpumpkin.calendar.extension import android.content.Context import android.util.TypedValue import android.view.animation.Animation import android.view.animation.AnimationUtils import androidx.annotation.AnimRes import androidx.annotation.ColorInt import androidx.annotation.ColorRes import androidx.core....
14
Kotlin
45
610
8da96a51863a2b03490e86638131289209361482
876
CrunchyCalendar
MIT License
Chapter3/app/src/androidTest/java/com/favedish/testing/assertion/ViewWaiter.kt
bpbpublications
533,628,168
false
null
package com.favedish.testing.assertion import android.view.View import androidx.test.espresso.Espresso.onView import androidx.test.espresso.IdlingRegistry import androidx.test.espresso.IdlingResourceTimeoutException import androidx.test.espresso.matcher.ViewMatchers.isRoot import com.favedish.testing.action.NoAction i...
0
Kotlin
5
7
cd85b9fb89e307ad4977bcdb63121aa906f19427
992
Clean-Architecture-for-Android
MIT License
compose/ui/ui-test-junit4/src/desktopMain/kotlin/androidx/compose/ui/test/ComposeTest.desktop.kt
JetBrains
351,708,598
false
null
/* * Copyright 2022 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...
30
null
950
59
e18ad812b77fc8babb00aacfcea930607b0794b5
8,442
androidx
Apache License 2.0
app/src/main/java/com/jokopriyono/jonews/data/response/Article.kt
jokopriyono
183,607,038
false
null
package com.jokopriyono.jonews.data.response import android.os.Parcelable import com.google.gson.annotations.SerializedName import kotlinx.android.parcel.Parcelize @Parcelize data class Article( @SerializedName("author") val author: String?, @SerializedName("content") val content: String?, @Serial...
0
Kotlin
0
0
c02f28609aca282a9a018cefe36733d4d86ac910
727
JoNews
Apache License 2.0
core/bluetooth/src/main/kotlin/edu/stanford/spezi/core/bluetooth/data/model/BLEServiceEvent.kt
StanfordSpezi
787,513,636
false
{"Kotlin": 1195675, "Ruby": 1769, "Shell": 212}
package edu.stanford.spezi.core.bluetooth.data.model import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothGatt import android.bluetooth.BluetoothGattCharacteristic /** * Represents events emitted by the Bluetooth Low Energy (BLE) service. */ sealed interface BLEServiceEvent { /** * R...
16
Kotlin
2
8
9eae0b52bc631fa171b4873a739baddad8fe4b2c
3,047
SpeziKt
MIT License
app/src/main/java/org/oppia/android/app/testing/DrawableBindingAdaptersTestActivity.kt
oppia
148,093,817
false
null
package org.oppia.android.app.testing import android.os.Bundle import org.oppia.android.R import org.oppia.android.app.activity.ActivityComponentImpl import org.oppia.android.app.activity.InjectableAppCompatActivity /** Test activity for [org.oppia.android.app.databinding.DrawableBindingAdapters]. */ class DrawableBi...
537
null
412
229
7fd290d68f0440d926f2d443dbd7bfb28ab20547
610
oppia-android
Apache License 2.0
compiler/testData/codegen/box/inference/pcla/issues/kt47989a.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...
// ISSUE: KT-47989 // IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: ANY // REASON: red code (see corresponding diagnostic test) fun box(): String { build { object: TypeSourceInterface { override fun produceTargetType() = getTypeVariable() } } return "OK" } class TargetType inte...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
622
kotlin
Apache License 2.0
compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/style/ShaderBrushSpan.android.kt
androidx
256,589,781
false
null
/* * Copyright 2022 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...
22
null
843
4,781
a835d49996cd80daedf55cb5f72455eaa1f5b096
1,915
androidx
Apache License 2.0
app/src/main/java/com/mioamorefsm/features/lead/api/GetLeadRegProvider.kt
DebashisINT
524,006,838
false
null
package com.mioamorefsm.features.lead.api import com.mioamorefsm.features.NewQuotation.api.GetQuotListRegRepository import com.mioamorefsm.features.NewQuotation.api.GetQutoListApi object GetLeadRegProvider { fun provideList(): GetLeadListRegRepository { return GetLeadListRegRepository(GetLeadListApi.crea...
0
Kotlin
0
0
b18c8515f404ca5e51c60c85c22676ef77712104
333
SwitzFood
Apache License 2.0
src/Day1.kt
jrmacgill
573,065,109
false
null
fun main(args: Array<String>) { val lines = object {}.javaClass.getResourceAsStream("dayOne.txt")?.bufferedReader()?.readLines() var count = 0 var max = -1 var index = 0 var counts = mutableListOf<Int>() lines?.forEach { if (it.isEmpty()) { counts.add(count) count...
0
Kotlin
0
3
3dcd590f971b6e9c064b444139d6442df034355b
471
aoc-2022-kotlin
Apache License 2.0
glucose/src/main/java/com/desugar/glucose/renderer/opengl/OpenGLRendererAPI.kt
desugar-64
585,358,949
false
null
package com.desugar.glucose.renderer.opengl import android.opengl.GLES31 import android.util.Log import com.desugar.glucose.renderer.RendererAPI import com.desugar.glucose.renderer.VertexArray import dev.romainguy.kotlin.math.Float4 class OpenGLRendererAPI : RendererAPI { override fun init() { // LOG ...
0
Kotlin
0
0
f510d661aae5db723b6b2975ededb59a57f82cdd
1,595
android-opengl-renderer
Apache License 2.0
project-practice-problems/src/kiz/learnwithvel/problems/ab_decision/Calculator.kt
vel02
261,988,454
false
{"Text": 1, "Ignore List": 59, "Markdown": 1, "XML": 511, "Kotlin": 200, "Java": 8, "Gradle": 25, "Java Properties": 16, "Shell": 8, "Batchfile": 8, "Proguard": 8}
package kiz.learnwithvel.problems.ab_decision fun main() { var firstNumber = 0 var secondNumber = 0 println("Enter two numbers: ") firstNumber = readLine()!!.toInt() secondNumber = readLine()!!.toInt() print("Enter an operator (+, -, *, /): ") val operator = readLine()!!.toCharArray()[0]...
1
null
1
1
7644d1911ff35fda44e45b1486bcce5d790fe7c0
675
learn-kotlin-android
MIT License
feature-governance-impl/src/main/java/io/novafoundation/nova/feature_governance_impl/presentation/delegation/delegation/revoke/confirm/RevokeDelegationConfirmViewModel.kt
novasamatech
415,834,480
false
null
package io.novafoundation.nova.feature_governance_impl.presentation.delegation.delegation.revoke.confirm import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import io.novafoundation.nova.common.base.BaseViewModel import io.novafoundation.nova.common.mix...
14
null
6
9
dea9f1144c1cbba1d876a9bb753f8541da38ebe0
9,034
nova-wallet-android
Apache License 2.0
app/src/main/java/com/example/project_04_flixster_part_02/TvShowAdapter.kt
TosnEula
547,660,654
false
{"Kotlin": 9136}
package com.example.project_04_flixster_part_02 import android.content.Context import android.content.Intent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import c...
2
Kotlin
0
0
b2940c8038e9411f328a8e528d98dbaeee2b6c19
2,227
Project_04_Flixster_Part_02
Apache License 2.0
wear/compose/compose-material/benchmark/src/androidTest/java/androidx/wear/compose/material/benchmark/PositionIndicatorBenchmark.kt
androidx
256,589,781
false
null
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
9,916
androidx
Apache License 2.0
core-data/src/main/java/io/agapps/core/data/repository/VehicleRepositoryImpl.kt
AlexMGreen
484,774,505
false
null
package io.agapps.core.data.repository import com.github.ajalt.timberkt.Timber import io.agapps.common.result.Result import io.agapps.core.database.dao.VehicleDao import io.agapps.core.database.model.MotTestEntity import io.agapps.core.database.model.RfrAndCommentEntity import io.agapps.core.database.model.VehicleEnti...
0
Kotlin
0
0
fc190a765d904f9ff18f0720ba9b7398edc6d29b
3,397
mot-checker
Apache License 2.0
InstaTask/app/src/main/java/com/example/instatask/ui/app/Navigation/NavScreens.kt
linpeterk
472,551,243
false
null
package com.example.instatask.ui.app.Navigation import com.example.instatask.R sealed class NavScreens(var route: String, var icon: Int, var title: String) { object TaskBoard : NavScreens("TaskBoard", R.drawable.jobimageone, "Gigs") object SkillBoard : NavScreens("SkillBoard", R.drawable.professionalimagefive...
0
Kotlin
0
0
fd9fd4723b8180a5b19e40bb43ae822e1418b0ff
1,185
Insta-Task
Apache License 2.0
data/src/main/java/com/arjuj/data/di/DataModules.kt
arjunmehtaa
426,723,003
false
{"Kotlin": 69080}
package com.arjuj.data.di import com.arjuj.data.repository.Repository import com.arjuj.data.room.RoomPokemonDatabase import com.arjuj.data.room.RoomPokemonRepository import com.arjuj.domain.repository.RepositoryInterface import com.arjuj.domain.repository.RoomRepositoryInterface import org.koin.android.ext.koin.androi...
1
Kotlin
1
18
6435d31ba7f2f386b97c9a808ede0a0ee68d7de5
575
PokeFacts
Apache License 2.0
sdk/adaptive/src/androidTest/java/com/ibm/security/verifysdk/adaptive/test/RemoteMockAdaptive.kt
ibm-security-verify
430,929,749
false
null
/* * Copyright contributors to the IBM Security Verify Adaptive SDK for Android project */ package com.ibm.security.verifysdk.adaptive.test import com.github.kittinunf.fuel.httpPost import com.github.kittinunf.result.failure import com.github.kittinunf.result.success import com.ibm.security.verifysdk.adaptive.Adapt...
0
Kotlin
1
1
fd09a6d0c6586059e5d1cd00451b32dfbfe6e36a
12,924
verify-sdk-android
MIT License
octicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/octicons/octicons/Sliders24.kt
walter-juan
868,046,028
false
null
package com.woowla.compose.icon.collections.octicons.octicons 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.Stro...
0
null
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
4,968
compose-icon-collections
MIT License
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/lifetime/KaBaseLifetimeTracker.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2024 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.api.impl.base.lifetime import com.intellij.openapi.project.Project impo...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,604
kotlin
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/EnvelopeBulk.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
5,079
icons
MIT License
compiler/ir/ir.psi2ir/src/org/jetbrains/kotlin/psi2ir/intermediate/ArrayAccessAssignmentReceiver.kt
arrow-kt
109,678,056
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * 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...
12
null
1
43
d2a24985b602e5f708e199aa58ece652a4b0ea48
3,772
kotlin
Apache License 2.0
src/main/kotlin/net/aquadc/mike/plugin/android/UnsupportedFeatureInspection.kt
Miha-x64
194,734,584
false
null
package net.aquadc.mike.plugin.android import com.android.tools.idea.util.androidFacet import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemHighlightType import com.intellij.codeInspection.ProblemsHolder import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi...
21
Kotlin
6
25
029dd1eed9bf8841cf5a537ae728baa50f2560db
12,659
Mikes_IDEA_extensions
Apache License 2.0
packages/replay-android/android-library/replay-android/src/main/java/com/replay/android/WebAppInterface.kt
edbentley
260,674,431
false
null
package com.replay.android import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.webkit.JavascriptInterface import java.io.FileNotFoundException class WebAppInterface(private val replayContext: ReplayActivity) { @JavascriptInterface fun bridge( ...
9
TypeScript
8
293
457c666fe9868ec31026273966ac27e33ebae94e
3,291
replay
MIT License
plugins/kotlin/idea/tests/testData/intentions/addNamesInCommentToJavaCallArguments/partialNameComments2.kt
ingokegel
72,937,917
true
null
fun test(j: Java) { j.test<caret>(/* foo = */ 1, 2, /* baz = */ 3) }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
72
intellij-community
Apache License 2.0
app/src/main/java/com/jhb/crosswordScan/ui/common/CrosswordAppUiState.kt
jhb123
621,945,622
false
null
package com.jhb.crosswordScan.ui.common data class CrosswordAppUiState( val pageTitle : String, val darkMode : Boolean = false, val puzzleSearchShown : Boolean = false )
9
Kotlin
0
2
17c8919b06729e7ae7bcbd0a2e7e7e333b5a7f12
183
crossword-scan-app
MIT License
test-echo/def/src/commonMain/kotlin/test/echo/def/def.kt
kotlin-everywhere
368,894,676
false
null
package test.echo.def import org.kotlin.everywhere.net.Kenet class Def : Kenet() { val echo by c<String, String>() }
4
Kotlin
9
13
087fed6fead77d7ec2fc087608ae3095efd3d852
122
kenet
MIT License
meistercharts-canvas/src/commonMain/kotlin/com/meistercharts/canvas/DevicePixelRatioSupport.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
1,633
meistercharts
Apache License 2.0
idea/testData/multiModuleLineMarker/transitive/base_common/common.kt
JakeWharton
99,388,807
true
null
expect fun <lineMarker descr="Has actuals in JVM">foo</lineMarker>(): Int
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
73
kotlin
Apache License 2.0
sources/js/values/BackgroundRepeat.kt
cybernetics
323,978,300
true
{"Kotlin": 245088}
@file:Suppress("NOTHING_TO_INLINE") package io.fluidsonic.css // FIXME support multiple values public external interface BackgroundRepeat : CssValue { @Suppress("INLINE_EXTERNAL_DECLARATION", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", "WRONG_BODY_OF_EXTERNAL_DECLARATION") public companion object { @CssDsl public...
0
null
0
0
65b9463c57be79f8fcb5e5083df6907340388826
2,178
fluid-css
Apache License 2.0
preview/src/main/java/com/unagit/composeplayground/view_preview/OrderView.kt
mirokolodii
713,840,306
false
null
package com.unagit.composeplayground.view_preview import android.content.Context import android.content.res.ColorStateList import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.TextView import androidx.annotation.ColorRes import androidx.annotation.DrawableR...
0
null
0
1
b425bfe561855dd6ed50e464ed1bf06f59a77842
5,533
AndroidComposePlayground
Apache License 2.0
app/src/main/java/com/snakydesign/clock/ClockActivity.kt
adibfara
245,678,172
false
null
package com.snakydesign.clock import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.compose.Composable import androidx.interpolator.view.animation.FastOutSlowInInterpolator import androidx.ui.animation.Transition import androidx.ui.core.Alignment import androidx.ui.core.Draw import a...
1
Kotlin
31
371
ab0b3a275313e6e06ccce96bc59bea976e84c1d0
1,858
ComposeClock
Apache License 2.0
examples/sample-protoc-plugin/src/main/kotlin/App.kt
Dogacel
674,802,209
false
null
import custom.pkg.protos.Node import custom.pkg.protos.NodeStatus import kotlinx.serialization.encodeToHexString import kotlinx.serialization.protobuf.ProtoBuf fun main() { val myNode = Node( id = 100, name = "Network Node", tags = listOf("fast", "reliable"), ...
12
null
1
6
01de3fd0448d51b01b751d6547dbf27a36dc34bc
726
kotlinx-protobuf-gen
Apache License 2.0
libs/pandautils/src/main/java/com/instructure/pandautils/room/appdatabase/entities/DashboardFileUploadEntity.kt
instructure
179,290,947
false
{"Kotlin": 16415961, "Dart": 4454406, "HTML": 185120, "Ruby": 35686, "Java": 24752, "Shell": 19157, "Groovy": 11717, "JavaScript": 9505, "Objective-C": 7431, "Python": 2438, "CSS": 1356, "Swift": 807, "Dockerfile": 112}
package com.instructure.pandautils.room.appdatabase.entities import androidx.room.Entity import androidx.room.PrimaryKey @Entity data class DashboardFileUploadEntity( @PrimaryKey val workerId: String, val userId: Long, val title: String?, val subtitle: String?, val courseId: Long?, val ass...
7
Kotlin
102
127
ca6e2aeaeedb851003af5497e64c22e02dbf0db8
390
canvas-android
Apache License 2.0
app/src/main/java/ru/beryukhov/coffeegram/model/NavigationStore.kt
phansier
274,754,270
false
{"Kotlin": 186562, "Ruby": 4091, "Makefile": 1267, "Swift": 584, "Shell": 227}
package ru.beryukhov.coffeegram.model import kotlinx.coroutines.flow.MutableStateFlow import org.threeten.bp.LocalDate import org.threeten.bp.YearMonth import ru.beryukhov.coffeegram.store_lib.InMemoryStore class NavigationStore(val yearMonth: YearMonth = YearMonth.now()) : InMemoryStore<NavigationIntent, NavigationS...
3
Kotlin
26
394
4a8cd1dda4be461a83319da4821eb6d86dab9d20
1,855
Coffeegram
Apache License 2.0
app/src/main/java/com/jesusrojo/firebasedemo/messaging/MessagingActivity.kt
jesusrojo
404,888,869
false
{"Kotlin": 77465, "Java": 51180}
package com.jesusrojo.firebasedemo.messaging import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.Bundle import android.util.Log import androidx.annotation.NonNull import androidx.appcompat.app.AlertDialog import an...
0
Kotlin
0
0
236ed00770398622fe8eeeb8e42663de53d8eb50
2,862
FirebaseDemo
Apache License 2.0
src/main/kotlin/com/example/App.kt
bastman
261,739,082
false
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package com.example import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.required class App:CliktCommand(help="do sth.") { private val from...
2
Kotlin
0
0
ad7aa2e62fb3482e4cca15b1f926fc6cd406a700
570
kotlin-jdeploy-playground
ISC License
src/main/kotlin/com/example/App.kt
bastman
261,739,082
false
null
/* * This Kotlin source file was generated by the Gradle 'init' task. */ package com.example import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.required class App:CliktCommand(help="do sth.") { private val from...
2
Kotlin
0
0
ad7aa2e62fb3482e4cca15b1f926fc6cd406a700
570
kotlin-jdeploy-playground
ISC License
src/main/kotlin/g0701_0800/s0770_basic_calculator_iv/Solution.kt
javadev
190,711,550
false
null
package g0701_0800.s0770_basic_calculator_iv // #Hard #String #Hash_Table #Math #Stack #Recursion // #2023_03_10_Time_222_ms_(100.00%)_Space_39.2_MB_(100.00%) import java.util.Collections import java.util.Stack class Solution { internal inner class Node { var mem: MutableMap<List<String>, Int> = HashMap(...
1
null
6
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
5,522
LeetCode-in-Kotlin
MIT License
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/back/moon/Yachiyo.kt
qwewqa
390,928,568
false
null
package xyz.qwewqa.relive.simulator.core.presets.dress.back.moon import xyz.qwewqa.relive.simulator.core.presets.condition.MoonOnlyCondition import xyz.qwewqa.relive.simulator.core.presets.dress.generated.dress4050016 import xyz.qwewqa.relive.simulator.core.stage.Act import xyz.qwewqa.relive.simulator.core.stage.actor...
0
null
11
7
70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74
3,402
relight
MIT License
layout-inspector/testSrc/com/android/tools/idea/layoutinspector/runningdevices/ToggleLayoutInspectorActionTest.kt
JetBrains
60,701,247
false
{"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18}
/* * Copyright (C) 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
2
Kotlin
230
876
9c0a89784cca3c01ab99cf251b71a26cdb87cc47
5,096
android
Apache License 2.0
ScooterSharing/app/src/main/java/dk/itu/moapd/scootersharing/tokj/Model/Scooter.kt
tkjelds
592,353,450
false
null
/** * MIT License Copyright (c) 2023 <NAME> <NAME> 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 restriction, including without limitation the rights to use, copy, modify, merge, publi...
0
Kotlin
0
0
044365481265611f0eab7ad443a5d4738180ab1e
1,898
MOAPD23
MIT License
src/HTMLBuilder/src/kotlinx/html/HtmlHead.kt
JetBrains
7,543,871
false
null
package kotlinx.html fun HTML.head(init: HEAD.() -> Unit) = build(HEAD(this), init) fun HEAD.title(init: TITLE.() -> Unit = { }) = build(TITLE(this), init) fun HEAD.title(text: String) { build(TITLE(this), { +text }) } fun HEAD.link(href: Link, rel: String = "stylesheet", mimeType: String = "text/css", content: ...
4
null
70
77
45dbdaadf2676eaede6e77068a1ad20010629ed1
2,435
kara
Apache License 2.0
src/main/kotlin/io/zhudy/duic/server/Application.kt
xcorp1986
128,421,929
true
{"Kotlin": 89327, "Vue": 58575, "JavaScript": 9039, "HTML": 764, "CSS": 34}
package io.zhudy.duic.server import com.auth0.jwt.algorithms.Algorithm import io.zhudy.duic.Config import org.springframework.boot.Banner import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration import org.spr...
0
Kotlin
0
0
05a6b3ce48b2ad57e8ff281eb176b31a5ed5c4c4
3,157
duic
Apache License 2.0
LoggingManager.kt
Couchbase-Ecosystem
849,511,380
false
{"Kotlin": 19031}
package cbl.js.kotiln import com.couchbase.lite.* import java.util.EnumSet object LoggingManager { fun setLogLevel(logDomain: String, logLevel: Int) { when (logDomain) { "ALL" -> Database.log.console.domains = LogDomain.ALL_DOMAINS "DATABASE" -> Database.log.console.domains = EnumS...
0
Kotlin
0
0
238673472986f81e3d5a458379f1bbfdbd986feb
1,088
cbl-js-kotlin
Apache License 2.0
LoggingManager.kt
Couchbase-Ecosystem
849,511,380
false
{"Kotlin": 19031}
package cbl.js.kotiln import com.couchbase.lite.* import java.util.EnumSet object LoggingManager { fun setLogLevel(logDomain: String, logLevel: Int) { when (logDomain) { "ALL" -> Database.log.console.domains = LogDomain.ALL_DOMAINS "DATABASE" -> Database.log.console.domains = EnumS...
0
Kotlin
0
0
238673472986f81e3d5a458379f1bbfdbd986feb
1,088
cbl-js-kotlin
Apache License 2.0
plugin/src/main/kotlin/com/supercilex/gradle/versions/tasks/ComputeVersionCode.kt
SUPERCILEX
241,978,640
false
null
package com.supercilex.gradle.versions.tasks import com.supercilex.gradle.versions.internal.safeCreateNewFile import org.gradle.api.DefaultTask import org.gradle.api.file.RegularFileProperty import org.gradle.api.provider.Property import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.Input import org.g...
0
Kotlin
3
15
3c48abdf9cdceac685f0119579865e429fe3b329
3,097
version-orchestrator
Apache License 2.0
src/main/java/info/movito/themoviedbapi/model/NetworkMovie.kt
afterroot
515,607,935
true
{"INI": 2, "Proguard": 1, "Shell": 1, "EditorConfig": 1, "Markdown": 3, "JSON": 3, "Git Attributes": 1, "Batchfile": 1, "Text": 1, "Gradle": 1, "Ignore List": 1, "Java": 72, "Kotlin": 67, "XML": 1, "YAML": 2}
/* * Copyright (c) 2014, <NAME> * All rights reserved. */ package info.movito.themoviedbapi.model import com.afterroot.tmdbapi.model.Genre import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonTypeInfo import info.movito.themoviedbapi.TmdbMovies import info.movito.themovi...
10
Java
0
0
acd954ac3cc211193bda4d90addd22deb672cc4c
4,154
themoviedbapi
BSD 2-Clause with views sentence
src/main/java/info/movito/themoviedbapi/model/NetworkMovie.kt
afterroot
515,607,935
true
{"INI": 2, "Proguard": 1, "Shell": 1, "EditorConfig": 1, "Markdown": 3, "JSON": 3, "Git Attributes": 1, "Batchfile": 1, "Text": 1, "Gradle": 1, "Ignore List": 1, "Java": 72, "Kotlin": 67, "XML": 1, "YAML": 2}
/* * Copyright (c) 2014, <NAME> * All rights reserved. */ package info.movito.themoviedbapi.model import com.afterroot.tmdbapi.model.Genre import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonTypeInfo import info.movito.themoviedbapi.TmdbMovies import info.movito.themovi...
10
Java
0
0
acd954ac3cc211193bda4d90addd22deb672cc4c
4,154
themoviedbapi
BSD 2-Clause with views sentence
ftc-2021-2022-offseason/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/hardware/CustomElement.kt
QubeRomania
491,215,964
false
{"Java": 210390, "Kotlin": 52111}
package org.firstinspires.ftc.teamcode.hardware import com.qualcomm.robotcore.hardware.* import org.firstinspires.ftc.teamcode.hardware.Outtake.Companion.servo1Close import org.firstinspires.ftc.teamcode.hardware.Outtake.Companion.servo1Open import org.firstinspires.ftc.teamcode.hardware.Outtake.Companion.servo2Close ...
1
null
1
1
6a19b7460d416fa4bddf442b7ef4dcf539c7ae9b
2,023
ftc-2021-2022-offseason
Apache License 2.0
library/src/main/java/com/zhuiyun/library/utils/ByteUtils.kt
zhuiyun
480,677,598
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 2, "Proguard": 2, "Kotlin": 55, "XML": 55, "INI": 1, "Java": 33}
package com.zhuiyun.library.utils /** * @author: yun * @date: 2022/4/12 0012 13 */ object ByteUtils { /** * 十六进制转十进制 */ fun hextoInt(s: String): Int { return s.toInt(16) } /** * byte转int */ fun byteArrayInt2(low: Byte, high: Byte): Int { return (high.toI...
0
Java
0
2
d6452d76653c4e3456041d222d1e081e34624cb1
2,909
UtilLibrary
Apache License 2.0
android/app/src/main/java/com/jovial/corpsblog/MainActivity.kt
zathras
73,012,336
false
{"Shell": 5, "Text": 3, "Ignore List": 3, "Git Attributes": 1, "EditorConfig": 1, "Markdown": 13, "JSON": 3, "Kotlin": 67, "Java": 19, "SVG": 16, "XML": 18, "CSS": 16, "JavaScript": 18, "Gradle": 3, "Java Properties": 2, "Batchfile": 1, "Proguard": 1, "JAR Manifest": 1, "HTML": 12}
package com.jovial.corpsblog import android.Manifest import android.content.SharedPreferences import android.content.pm.PackageManager import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat import android.sup...
1
null
1
1
f3124403377480bfed27e86b645f445dccc86445
9,440
corpsblog
MIT License
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/declarations/IrErrorDeclaration.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * 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...
125
null
4903
39,894
0ad440f112f353cd2c72aa0a0619f3db2e50a483
1,186
kotlin
Apache License 2.0
increase-kotlin-core/src/test/kotlin/com/increase/api/services/blocking/simulations/AccountStatementServiceTest.kt
Increase
614,596,742
false
null
// File generated from our OpenAPI spec by Stainless. package com.increase.api.services.blocking.simulations import com.increase.api.TestServerExtension import com.increase.api.client.okhttp.IncreaseOkHttpClient import com.increase.api.models.* import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension....
1
null
0
5
dc1361d08cb41ff45817c2e7638f53356f15cf8e
965
increase-kotlin
Apache License 2.0
app/src/main/java/de/jepfa/yapm/usecase/vault/ShareVaultUseCase.kt
jenspfahl
378,141,282
false
null
package de.jepfa.yapm.usecase.vault import android.app.PendingIntent import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.net.Uri import androidx.core.net.toUri import de.jepfa.yapm.R import de.jepfa.yapm.service.Prefer...
6
null
3
6
a5e9828f3b1ed36f293bdebae2e784365e067c62
3,820
ANOTHERpass
MIT License
app/src/main/java/exh/util/SearchOverride.kt
smokeofc
178,956,464
true
{"Kotlin": 1564131, "Java": 131258, "Shell": 522}
package exh.util import eu.kanade.tachiyomi.source.Source import eu.kanade.tachiyomi.source.model.MangasPage import exh.GalleryAddEvent import exh.GalleryAdder import rx.Observable private val galleryAdder by lazy { GalleryAdder() } /** * A version of fetchSearchManga that supports URL importing */ fun Source....
0
Kotlin
0
2
7b9e2de475e672b4b8635f3e1b6102db57533a35
853
TachiyomiEH
Apache License 2.0