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
CadastroPet/app/src/main/java/com/example/cadastropet/repository/AppDatabase.kt
RebecaVieiraM
839,322,635
false
{"Kotlin": 6157}
package com.example.cadastropet.repository import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase import com.example.cadastropet.model.PetModel import com.example.c...
0
Kotlin
0
0
f8fff834cf4a30513dd0a5fe94d8c992ec282fc6
1,511
CadastroPet
MIT License
app/src/main/java/com/androidproject/githubuserapp/activity/DetailsActivity.kt
Biswajeet-23
597,825,743
false
null
package com.androidproject.githubuserapp.activity import android.annotation.SuppressLint import android.content.Intent import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.net.Uri import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Image...
0
Kotlin
0
1
371e2c174c2befead5959eb62fcfc30c620dff53
5,068
Github-Search-Api
MIT License
app/src/main/java/kr/owens/upa/helper/TickerHelper.kt
owen151128
369,703,277
false
null
package kr.owens.upa.helper import kr.owens.upa.model.Ticker object TickerHelper { private const val KOREA_WON = "KRW" fun filterFiat(tickers: List<Ticker>, fiat: String = KOREA_WON) = tickers.filter { it.market.startsWith(fiat) } fun sort(tickers: List<Ticker>) = tickers.sortedBy { it.koreanNam...
0
Kotlin
0
0
641a5f45e265dfefce5389e55245c8c91e01d341
325
upbit_price_alarm
Apache License 2.0
feature/player/src/main/kotlin/dev/dexsr/klio/player/android/presentation/root/main/PlaybackControlScreen.kt
flammky
462,795,948
false
null
package dev.dexsr.klio.player.android.presentation.root.main import androidx.compose.animation.core.* import androidx.compose.foundation.layout.BoxWithConstraints import androidx.compose.foundation.layout.offset import androidx.compose.runtime.* import androidx.compose.ui.Modifier import androidx.compose.ui.layout.Sub...
0
null
6
56
a452c453815851257462623be704559d306fb383
5,995
Music-Player
Apache License 2.0
mewwalletbl/src/main/java/com/myetherwallet/mewwalletbl/key/util/AES.kt
MyEtherWallet
225,456,139
false
null
package com.myetherwallet.mewwalletbl.key.util import android.security.keystore.KeyProperties import javax.crypto.Cipher import javax.crypto.spec.SecretKeySpec /** * Created by BArtWell on 15.07.2019. */ private const val ALGORITHM = KeyProperties.KEY_ALGORITHM_AES private const val TRANSFORMATION = "${KeyPropert...
2
Kotlin
14
8
0c876055cad9373c425230b8444978bee11e2a52
905
mew-wallet-android-biz-logic
MIT License
library/src/main/java/com/trendyol/showcase/ui/showcase/ShowcaseView.kt
MertNYuksel
336,248,559
true
{"Kotlin": 43824}
package com.trendyol.showcase.ui.showcase import android.content.Context import android.graphics.Canvas import android.util.AttributeSet import android.view.LayoutInflater import androidx.annotation.LayoutRes import androidx.constraintlayout.widget.ConstraintLayout import androidx.databinding.DataBindingUtil import co...
0
null
0
0
00643ecc0ce308972a90af92a6bb55c451638b3d
7,143
showcase
Apache License 2.0
modules/core/arrow-instances-core/src/main/kotlin/arrow/instances/id.kt
simonbasle
157,551,397
true
{"Kotlin": 1552802, "CSS": 142107, "JavaScript": 66545, "HTML": 11364, "Java": 4465, "Shell": 3043}
package arrow.instances import arrow.Kind import arrow.core.* import arrow.instance import arrow.typeclasses.* import arrow.instances.traverse as idTraverse @instance(Id::class) interface IdEqInstance<A> : Eq<Id<A>> { fun EQ(): Eq<A> override fun Id<A>.eqv(b: Id<A>): Boolean = EQ().run { value.eqv(b.value) ...
1
Kotlin
1
0
30e4454a825383dae15677b29d838944030589e5
3,528
kategory
Apache License 2.0
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kofunction/forkomodifier/KoFunctionDeclarationForKoModifierProviderTest.kt
LemonAppDev
621,181,534
false
null
package com.lemonappdev.konsist.core.declaration.kofunction.forkomodifier import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope import com.lemonappdev.konsist.api.KoModifier import com.lemonappdev.konsist.api.KoModifier.DATA import com.lemonappdev.konsist.api.KoModifier.OPEN import com.lemonappdev.konsi...
7
null
22
840
81324e09fe46c9f1095b133713ae0062e742c2e3
4,659
konsist
Apache License 2.0
modulo5/src/aula23/exercicio07/Main.kt
ProgramaCatalisa
491,134,850
false
{"Kotlin": 80614}
package aula23.exercicio07 import aula23.exercicio07.menu.Menu fun main() { Menu.menu() }
0
Kotlin
0
0
e0b994cd6b173da0f791fd3cb2eca96316cb6a6d
95
ResolucaoExerciciosKotlin
Apache License 2.0
VivaCoronia/app/src/main/java/de/tudarmstadt/iptk/foxtrot/vivacoronia/trading/models/ProductSearchQuery.kt
ckuessner
313,282,198
false
null
package de.tudarmstadt.iptk.foxtrot.vivacoronia.trading.models import android.net.Uri import android.os.Parcel import android.os.Parcelable import com.google.android.gms.maps.model.LatLng class ProductSearchQuery ( var productName: String, var category: String, ...
0
Kotlin
0
0
779a0382c2a3f06ed57f23b25777985bf80db5b8
2,985
vivacoronia-frontend
Apache License 2.0
app/src/main/java/dev/spikeysanju/expensetracker/view/details/TransactionDetailsFragment.kt
Spikeysanju
330,410,387
false
null
package dev.spikeysanju.expensetracker.view.details import android.Manifest import android.annotation.SuppressLint import android.content.Intent import android.content.pm.PackageManager import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android....
23
null
151
883
dd807562eeb0c3fe6c14bc0882b2c442a6bd7388
7,015
Expenso
Apache License 2.0
idea/tests/testData/indentationOnNewline/controlFlowConstructions/DoWhile.kt
JetBrains
278,369,660
false
null
fun some() { do println() while (true) <caret> }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
57
intellij-kotlin
Apache License 2.0
app/src/main/java/com/lkw1120/pokedex/usecase/model/PokeItem.kt
lkw1120
727,588,825
false
{"Kotlin": 84577}
package com.lkw1120.pokedex.usecase.model data class PokeItem( val id: Long, val name: String, val url: String, )
0
Kotlin
0
1
6df9cbe60762b1799746304a68f3f29e6422b9df
127
compose-pokedex
Apache License 2.0
src/main/kotlin/zanagram/List.kt
HenriqueRocha
259,845,874
false
null
package zanagram /** * A generic ordered collection of elements that supports adding and removing elements. */ interface List<E> { /** * Adds the specified element to the end of this list. * @param e element to be appended to this list */ fun add(e: E) /** * Returns the size of this...
1
Kotlin
0
0
fbc4f2fc5489306dbc0eddfcd2a527745e297b78
663
zanagram
MIT License
snippets/kotlin/src/main/kotlin/com/algolia/snippets/Monitoring.kt
algolia
419,291,903
false
{"PHP": 5345450, "Go": 5338681, "Ruby": 4383162, "C#": 4219770, "Java": 3631981, "Python": 2757318, "Swift": 2573290, "Scala": 1614948, "Kotlin": 1593815, "Dart": 1572885, "TypeScript": 1481708, "Mustache": 609735, "MDX": 125223, "JavaScript": 82988, "CSS": 39035, "Shell": 7972, "HTML": 605}
package com.algolia.snippets import com.algolia.client.api.MonitoringClient import com.algolia.client.model.monitoring.* import kotlinx.serialization.json.* import kotlin.system.exitProcess class SnippetMonitoringClient { suspend fun snippetForCustomDelete() { // >SEPARATOR customDelete // Initialize the cl...
22
PHP
9
30
cefee57147db685610eec93d1fec57895e6ee43d
5,018
api-clients-automation
MIT License
testapp/src/main/java/com/github/marcherdiego/mvp/testapp/ui/mvp/presenter/AttributeForFragmentMainPresenter.kt
marcherdiego
124,760,586
false
null
package com.github.marcherdiego.mvp.testapp.ui.mvp.presenter import com.github.marcherdiego.mvp.events.bus.Bus import com.github.marcherdiego.mvp.events.presenter.BaseActivityPresenter import com.github.marcherdiego.mvp.testapp.ui.fragments.Fragment1 import com.github.marcherdiego.mvp.testapp.ui.fragments.Fragment2 im...
1
Kotlin
7
18
9f6d2827117babfc494a0ee4381620ccbf44f633
1,415
android_mvp
Apache License 2.0
PeakTest/app/src/main/java/com/che/peaktask/ui/fragments/HomeFragment.kt
evgen-chernets
409,651,210
false
{"Kotlin": 13583}
package com.che.peaktask.ui.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import com.che.peaktask.R import com.che.peaktask.databinding.FragmentHomeBindin...
0
Kotlin
0
0
b17d440ba1182fd967b9e9c32765f0362eaff0c2
2,044
PopReachTest
Apache License 2.0
features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/pin/DefaultPinCodeManager.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2023 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...
263
null
65
955
31d0621fa15fe153bfd36104e560c9703eabe917
4,022
element-x-android
Apache License 2.0
core/descriptor.loader.java/src/org/jetbrains/kotlin/load/java/specialBuiltinMembers.kt
msdgwzhy6
421,687,586
false
null
/* * Copyright 2010-2015 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...
0
null
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
12,472
kotlin
Apache License 2.0
src/lsp/intellij-plugin/src/main/kotlin/Annotator.kt
flock-community
506,356,849
false
null
package community.flock.wirespec.lsp.intellij_plugin import com.intellij.lang.annotation.AnnotationHolder import com.intellij.lang.annotation.ExternalAnnotator import com.intellij.lang.annotation.HighlightSeverity import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiFile import community.flock.wirespe...
18
null
1
9
3dce08aec1b787d90ae284b5bd0cf7a50628afa8
1,650
wirespec
Apache License 2.0
sample/src/main/java/indi/yume/tools/sample/ComposeActivity.kt
Yumenokanata
132,113,505
false
null
package indi.yume.tools.sample import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.TextView import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import indi.yume.tools.dsladapter.* import indi.yume.t...
2
null
6
71
5d0cc1a2e4d7affaf98ad4e00584724230267885
7,806
DslAdapter
Apache License 2.0
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/api/VimscriptFunctionService.kt
JetBrains
1,459,486
false
{"Kotlin": 5959132, "Java": 211095, "ANTLR": 84686, "HTML": 2184}
/* * Copyright 2003-2023 The IdeaVim authors * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE.txt file or at * https://opensource.org/licenses/MIT. */ package com.maddyhome.idea.vim.api import com.maddyhome.idea.vim.vimscript.model.VimLContext import com.maddyho...
6
Kotlin
749
9,241
66b01b0b0d48ffec7b0148465b85e43dfbc908d3
1,204
ideavim
MIT License
src/backend/archive/api-archive/src/main/kotlin/com/tencent/bkrepo/archive/request/DeleteCompressRequest.kt
TencentBlueKing
548,243,758
false
{"Kotlin": 13657594, "Vue": 1261332, "JavaScript": 683823, "Shell": 124343, "Lua": 100415, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423}
package com.tencent.bkrepo.archive.request import com.tencent.bkrepo.repository.constant.SYSTEM_USER data class DeleteCompressRequest( val sha256: String, val storageCredentialsKey: String?, val operator: String = SYSTEM_USER, )
363
Kotlin
38
70
54b0c7ab20ddbd988387bac6c9143b594681e73c
243
bk-repo
MIT License
protocol/osrs-223/src/main/kotlin/net/rsprox/protocol/game/incoming/decoder/codec/locs/OpLocTDecoder.kt
blurite
822,339,098
false
null
package net.rsprox.protocol.game.incoming.decoder.codec.locs import net.rsprot.buffer.JagByteBuf import net.rsprot.protocol.ClientProt import net.rsprot.protocol.util.gCombinedIdAlt1 import net.rsprox.protocol.ProxyMessageDecoder import net.rsprox.protocol.game.incoming.decoder.prot.GameClientProt import net.rsprox.pr...
9
null
4
9
41535908e6ccb633c8f2564e8961efa771abd6de
1,090
rsprox
MIT License
src/test/kotlin/adventofcode/Day3Test.kt
jwcarman
325,348,954
false
null
/* * Copyright (c) 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
0
Kotlin
0
1
049cd7f36a8773324625f7d84dc6ac52cfac2299
2,054
adventofcode2018
Apache License 2.0
app/shared/google-sign-in/impl/src/androidMain/kotlin/build/wallet/google/signin/GoogleSignOutActionImpl.kt
proto-at-block
761,306,853
false
{"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.google.signin import build.wallet.catching import build.wallet.logging.LogLevel.Error import build.wallet.logging.log import com.github.michaelbull.result.Result import com.github.michaelbull.result.map import com.github.michaelbull.result.mapError import kotlinx.coroutines.Dispatchers import kotl...
3
C
16
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
1,422
bitkey
MIT License
app/src/main/java/com/example/android/asteroidsradar/backgroundwork/RefreshDataWorker.kt
GerganaT
394,024,628
false
null
/* Copyright 2021, <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
0
Kotlin
0
0
2bb6ef0e3cdbd6e63b3c09e3e06c0ca6eda593fa
1,431
AsteroidRadar
Apache License 2.0
app/src/main/java/com/vladimirpetrovski/currencyconverter/domain/usecase/RecalculateRatesUseCase.kt
vladimirpetrovski
199,713,601
false
null
package com.vladimirpetrovski.currencyconverter.domain.usecase import com.vladimirpetrovski.currencyconverter.domain.CalculateRatesHelper import com.vladimirpetrovski.currencyconverter.domain.model.CalculatedRate import com.vladimirpetrovski.currencyconverter.domain.repository.RatesRepository import io.reactivex.Singl...
0
Kotlin
0
3
5979a2e1ccc0267d967302fc3a082b75c714b9a6
991
CurrencyConverter
The Unlicense
src/main/kotlin/no/nav/tms/min/side/proxy/proxyRoutes.kt
navikt
455,493,229
false
null
package no.nav.tms.min.side.proxy import io.ktor.client.statement.readBytes import io.ktor.server.application.ApplicationCall import io.ktor.server.application.call import io.ktor.server.request.receiveText import io.ktor.server.response.respond import io.ktor.server.routing.Route import io.ktor.server.routing.get imp...
1
Kotlin
0
0
32c28423b9e1b0fd6cc3868c6c65cdca5d06f40b
2,342
tms-min-side-proxy
MIT License
src/main/kotlin/su/sonoma/fishingmod/Fishingmod.kt
saddydead1
743,375,355
false
{"Kotlin": 22737}
package su.sonoma.fishingmod import com.mojang.logging.LogUtils import net.minecraft.client.Minecraft import net.minecraft.core.registries.Registries import net.minecraft.network.chat.Component import net.minecraft.world.item.CreativeModeTab import net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters import ...
0
Kotlin
0
1
e8c37e44e6885535aec4cdf1cad1efcc87c1b684
5,472
Fishing-Mod
MIT License
helios-test/src/main/kotlin/helios/arrow/laws/PrismLaws.kt
47degrees
118,187,374
false
null
package arrow.test.laws import arrow.core.* import arrow.instances.const.applicative.applicative import arrow.instances.id.applicative.applicative import arrow.typeclasses.* import arrow.optics.Prism import arrow.optics.modify import io.kotlintest.properties.Gen import io.kotlintest.properties.forAll object PrismLaws...
26
null
25
166
e6cff1ee7f6832fbdf121779c1062987ef25f160
2,762
helios
Apache License 2.0
src/test/kotlin/no/nav/helse/flex/soknadsopprettelse/PrettyOrgnavnTest.kt
navikt
475,306,289
false
null
package no.nav.helse.flex.soknadsopprettelse import org.amshove.kluent.`should be equal to` import org.junit.jupiter.api.Test internal class PrettyOrgnavnTest { @Test fun `Gjør SKRIKENDE orgnavn pene`() { "NAV OSLO".prettyOrgnavn() `should be equal to` "NAV Oslo" "MATBUTIKKEN AS".prettyOrgna...
6
null
0
4
644877fd8c3d888002fae1d62f95c90704526492
489
sykepengesoknad-backend
MIT License
app/src/main/java/host/stjin/anonaddy/widget/AliasWidget1RemoteViewsService.kt
anonaddy
854,490,200
false
{"Kotlin": 1335623}
package host.stjin.anonaddy.widget import android.content.Intent import android.widget.RemoteViewsService class AliasWidget1RemoteViewsService : RemoteViewsService() { override fun onGetViewFactory(intent: Intent): RemoteViewsFactory { return AliasWidget1RemoteViewsFactory(this) } }
0
Kotlin
0
3
ac5d5ee3d7ca14cf88711c1c92ec991fb1ce5ef3
301
addy-android
MIT License
src/main/kotlin/io/github/runedata/cache/content/config/ObjectDefinition.kt
Rune-Status
151,259,951
false
null
/* Copyright 2018 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
0
null
0
0
891d71d516099cce51a0472e2c627e6e73e161d8
8,771
Bartvhelvert-Cache-Content
Apache License 2.0
app/src/main/java/com/example/slabber/ChatApp.kt
Wahabahmad694
477,558,751
false
null
package com.example.slabber import android.app.Application import io.socket.client.IO import io.socket.client.Socket import java.net.URISyntaxException class ChatApp : Application() { val socket: Socket init { try { socket = IO.socket("ws://192.168.2.216:3000/") } catch (e: URISyn...
0
Kotlin
0
0
d7f87252662fc50db0089810b231702eb5e97e35
391
Slabber
Apache License 2.0
int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiDropdownStyling.kt
JetBrains
440,164,967
false
null
package org.jetbrains.jewel.intui.standalone.styling import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.shape.CornerSize import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.TextStyle import androidx.compose.ui.unit...
62
null
28
623
0ac4e0244cdf62255243e15d323df46eb255e0b7
10,262
jewel
Apache License 2.0
kodando-react-dom/src/main/kotlin/kodando/react/dom/events/SyntheticEvent.kt
kodando
81,663,289
false
null
package kodando.react.dom.events import org.w3c.dom.Node import org.w3c.dom.events.Event import org.w3c.dom.events.EventTarget import kotlin.js.Date /** * Created by danfma on 02/06/2016. */ external interface SyntheticEvent<TNode : Node> { var currentTarget: TNode var bubbles: Boolean? var cancelable: Boole...
12
Kotlin
5
76
f1428066ca01b395c1611717fde5463ba0042b19
566
kodando
MIT License
plugins/kotlin/j2k/new/tests/testData/newJ2k/docComments/primaryConstructorDoc.kt
ingokegel
72,937,917
false
null
/** * This constructor is especially useful */ internal class CtorComment { var myA: String = "str" } internal class CtorComment2 /** * This constructor is especially useful */
284
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
186
intellij-community
Apache License 2.0
compose/ui/ui/integration-tests/ui-demos/src/main/java/androidx/compose/ui/demos/MultipleCollect.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
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,147
androidx
Apache License 2.0
app/src/main/java/com/teobaranga/monica/contacts/data/MultipleContactsResponse.kt
teobaranga
686,113,276
false
{"Kotlin": 269714}
package com.teobaranga.monica.contacts.data import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import com.teobaranga.monica.data.common.MetaResponse @JsonClass(generateAdapter = true) data class MultipleContactsResponse( @Json(name = "data") val data: List<ContactResponse>, @Json(name = "m...
1
Kotlin
1
8
b14afe98fc1d5eb67782ad106aeee607ab267c80
356
monica
Apache License 2.0
src/commonMain/kotlin/data/items/MercilessGladiatorsSilkAmice.kt
marisa-ashkandi
332,658,265
false
null
package `data`.items import `data`.Constants import `data`.buffs.Buffs import `data`.itemsets.ItemSets import `data`.model.Color import `data`.model.Item import `data`.model.ItemSet import `data`.model.Socket import `data`.model.SocketBonus import `data`.socketbonus.SocketBonuses import character.Buff import character...
21
Kotlin
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
1,960
tbcsim
MIT License
android/src/main/java/com/samelody/samples/android/features/main/MainFragment.kt
belinwu
140,991,591
false
{"Gradle Kotlin DSL": 8, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 4, "Java": 2, "XML": 30, "INI": 2, "Kotlin": 53}
package com.samelody.samples.android.features.main import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import com.samelody.samples.android.R class MainFragment : Fragment() { ...
0
Kotlin
0
2
dce2b98cb031df6bbf04cfc576541a2d96134b5d
710
samples
Apache License 2.0
src/main/java/io/github/hotlava03/baclava4j/commands/CommandExecutor.kt
tierrif
222,762,402
false
{"Kotlin": 15895}
package io.github.hotlava03.baclava4j.commands abstract class CommandExecutor { abstract fun onCommand(e: CommandEvent?) }
0
Kotlin
0
0
8b1c0886ac87c9a2d21aa276008275cfd99b3d45
127
Baclava4j
Apache License 2.0
app/src/main/java/com/taro/aimentor/onboarding/OnboardingActivity.kt
Gear61
623,306,992
false
null
package com.taro.aimentor.onboarding import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.taro.aimentor.R import com.taro.aimentor.databinding.OnboardingPageBinding import com.taro.aimentor.home.MainActivity import com.taro.aimentor.persistence.PreferencesMa...
0
Kotlin
1
16
9931bb96adf2bf2c76862fdbcd6e29fad9eda5e2
3,738
ai-mentor-android
Apache License 2.0
smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/integration/serde/UnionEncodeGeneratorStrategy.kt
smithy-lang
242,852,561
false
{"Kotlin": 1325611, "Swift": 499776, "Smithy": 113078}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ package software.amazon.smithy.swift.codegen.integration.serde import software.amazon.smithy.aws.traits.protocols.RestXmlTrait import software.amazon.smithy.model.shapes.MemberShape import software.ama...
11
Kotlin
26
27
88529feec7b618eede831a82729f732f691e05fc
1,258
smithy-swift
Apache License 2.0
domain/src/main/kotlin/com/example/core/pt/port/out/PtJpaPort.kt
PARKPARKWOO
737,782,254
false
{"Kotlin": 354106, "Dockerfile": 124}
package com.example.core.pt.port.out import com.example.core.pt.command.SavePtCommand import com.example.core.pt.model.AiPt import java.util.UUID interface PtJpaPort { fun save(command: SavePtCommand): AiPt fun findByThisWeek(memberId: UUID): AiPt? }
13
Kotlin
0
0
f422abce0bde8d9bc654e47678756c3e0a987a27
262
barbellrobot-backend
Apache License 2.0
app/src/test/kotlin/com/cesarvaliente/kunidirectional/edititem/EditItemControllerViewTest.kt
CesarValiente
88,026,476
false
null
/** * Copyright (C) 2017 <NAME> & <NAME> * * https://github.com/CesarValiente * https://github.com/coshaw * * 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....
2
null
30
313
81706091f1700165a63eba310a12cedc136ded1f
7,522
KUnidirectional
Apache License 2.0
source/sdk/src/test/java/com/stytch/sdk/b2b/network/StytchB2BApiTest.kt
stytchauth
314,556,359
false
{"Kotlin": 1650258, "HTML": 508}
package com.stytch.sdk.b2b.network import android.app.Application import android.content.Context import com.stytch.sdk.b2b.StytchB2BClient import com.stytch.sdk.b2b.network.models.AllowedAuthMethods import com.stytch.sdk.b2b.network.models.AuthMethods import com.stytch.sdk.b2b.network.models.B2BRequests import com.sty...
4
Kotlin
2
23
bebbad4dcb86b2746f7a765fa3dcb867e79d4b6f
40,675
stytch-android
MIT License
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/DotnetEnvironmentVariablesTest.kt
JetBrains
49,584,664
false
null
/* * Copyright 2000-2023 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...
3
Kotlin
25
91
a19e1b8856a120d6f7f0d85cf7c2161adfae241f
11,060
teamcity-dotnet-plugin
Apache License 2.0
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/DotnetEnvironmentVariablesTest.kt
JetBrains
49,584,664
false
null
/* * Copyright 2000-2023 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...
3
Kotlin
25
91
a19e1b8856a120d6f7f0d85cf7c2161adfae241f
11,060
teamcity-dotnet-plugin
Apache License 2.0
presentation/src/main/java/com/doool/pokedex/presentation/ui/home/SearchViewModel.kt
D000L
407,756,410
false
null
package com.doool.pokedex.presentation.ui.home import androidx.lifecycle.viewModelScope import com.doool.pokedex.core.base.BaseViewModel import com.doool.pokedex.domain.LoadState import com.doool.pokedex.domain.model.Item import com.doool.pokedex.domain.model.PokemonDetail import com.doool.pokedex.domain.model.Pokemon...
4
Kotlin
1
7
d79a0f6b15f384f719bd812d2cbf8144ba6f45b4
1,851
pokedex-compose
Apache License 2.0
codegen-core/src/main/kotlin/io/vrap/rmf/codegen/io/MemoryDataSink.kt
commercetools
136,635,215
false
null
package io.vrap.rmf.codegen.io; import com.google.common.collect.Maps class MemoryDataSink: DataSink { val files: MutableMap<String, String> = mutableMapOf() override fun write(templateFile: TemplateFile) { files.put(templateFile.relativePath, templateFile.content) } override fun postClean()...
20
null
6
14
1d29b69ae49e17c28a26be72fd28979ca74922ec
357
rmf-codegen
Apache License 2.0
mokkery-runtime/src/commonMain/kotlin/dev/mokkery/internal/CallContext.kt
lupuuss
652,785,006
false
{"Kotlin": 556906}
package dev.mokkery.internal import dev.mokkery.internal.tracing.CallArg import kotlin.reflect.KClass internal class CallContext( val scope: MokkeryInterceptorScope, val name: String, returnType: KClass<*>, args: List<CallArg>, val supers: Map<KClass<*>, (List<Any?>) -> Any?> = emptyMap(), val...
9
Kotlin
8
185
71c8e946d1a3e9ab015e160304e2f85e5333c395
659
Mokkery
Apache License 2.0
app/src/main/kotlin/taiwan/no1/app/ssfm/features/search/SearchIndexFragment.kt
pokk
90,497,127
false
null
package taiwan.no1.app.ssfm.features.search import android.os.Bundle import android.support.v7.widget.LinearLayoutManager import com.devrapid.kotlinknifer.recyclerview.WrapContentLinearLayoutManager import com.devrapid.kotlinknifer.recyclerview.itemdecorator.HorizontalItemDecorator import com.devrapid.kotlinknifer.sca...
0
Kotlin
0
1
1928c2f1a42634ede147517854d06b6fd5d11e7b
5,632
SSFM
Apache License 2.0
compiler/testData/codegen/boxInline/tryCatchFinally/tryCatchFinally.2.kt
staltz
38,581,975
true
{"Java": 15450397, "Kotlin": 8578737, "JavaScript": 176060, "HTML": 22810, "Lex": 17327, "Protocol Buffer": 13024, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831}
class My(val value: Int) inline fun <T, R> T.performWithFinally(job: (T)-> R, finally: (T) -> R) : R { try { return job(this) } finally { return finally(this) } } inline fun <T, R> T.performWithFailFinally(job: (T)-> R, failJob : (e: RuntimeException, T) -> R, finally: (T) -> R) : R { ...
0
Java
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
540
kotlin
Apache License 2.0
app/src/main/java/com/github/vipulasri/timelineview/sample/BaseActivity.kt
vipulasri
48,049,436
false
null
package com.github.vipulasri.timelineview.sample import android.annotation.SuppressLint import android.graphics.drawable.Drawable import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar import com.github.vipulasri.timelineview.sample.example.whenNotNull @S...
7
null
648
3,734
963ac7a9e49aba33c06e3bf52b5a4b938fecec54
2,340
Timeline-View
Apache License 2.0
app/src/main/java/com/mikepenz/materialdrawer/app/CompactHeaderDrawerActivity.kt
mikepenz
30,120,110
false
null
package com.mikepenz.materialdrawer.app import android.content.Context import android.content.res.Configuration import android.graphics.Color import android.os.Build import android.os.Bundle import android.util.TypedValue import android.view.Menu import android.view.MenuItem import androidx.annotation.AttrRes import a...
5
null
2080
11,670
b03f1d495ae65fd88bdd3ee7e496665ae9721c0f
8,674
MaterialDrawer
Apache License 2.0
app/src/main/java/com/aljon/purrito/di/CatModule.kt
ajcordenete
257,904,844
false
null
package com.aljon.purrito.di import androidx.lifecycle.ViewModel import com.aljon.purrito.ui.feed.cat.CatFeedViewModel import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap @Module abstract class CatModule { @Binds @IntoMap @ViewModelKey(CatFeedViewModel::class) abstract fun bi...
0
Kotlin
0
1
e44054efcc552473a66402a77f02039c266ab3cc
374
Purrito
Apache License 2.0
src/commonMain/kotlin/com/oyosite/ticon/dillan/scenes/TileSceneBase.kt
eehunter
418,286,944
false
null
package com.oyosite.ticon.dillan.scenes import com.soywiz.korge.scene.Scene import com.soywiz.korge.view.Container class TileSceneBase : Scene() { override suspend fun Container.sceneInit() { } }
0
Kotlin
0
0
e194845938548461983641f9e38bf90ec097795f
207
Dillan
MIT License
src/commonMain/kotlin/com/oyosite/ticon/dillan/scenes/TileSceneBase.kt
eehunter
418,286,944
false
null
package com.oyosite.ticon.dillan.scenes import com.soywiz.korge.scene.Scene import com.soywiz.korge.view.Container class TileSceneBase : Scene() { override suspend fun Container.sceneInit() { } }
0
Kotlin
0
0
e194845938548461983641f9e38bf90ec097795f
207
Dillan
MIT License
app/src/main/java/space/taran/arknavigator/utils/ImageUtils.kt
ARK-Builders
394,855,699
false
null
package space.taran.arknavigator.utils import android.graphics.drawable.Drawable import android.util.Log import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.Priority import com.bumptech.glide.load.DataSource import com.bumptech.glide.load.engine.GlideException import com.bumptech....
93
Kotlin
3
8
886c7da36af73cc9235452d3b03412cc4c01e607
4,018
ARK-Navigator
MIT License
compose-ide-plugin/compiler-hosted-src/androidx/compose/compiler/plugins/kotlin/analysis/ComposeWritableSlices.kt
JetBrains
60,701,247
false
{"Kotlin": 49550960, "Java": 35837871, "HTML": 1217714, "Starlark": 909188, "C++": 357481, "Python": 106384, "C": 71782, "Lex": 66732, "NSIS": 58538, "AIDL": 35382, "Shell": 26938, "CMake": 26798, "JavaScript": 18437, "Smali": 7580, "Batchfile": 6951, "RenderScript": 4411, "Makefile": 2495, "IDL": 269, "QMake": 18}
package androidx.compose.compiler.plugins.kotlin.analysis import androidx.compose.compiler.plugins.kotlin.lower.KeyInfo import org.jetbrains.kotlin.descriptors.FunctionDescriptor import org.jetbrains.kotlin.ir.declarations.IrAttributeContainer import org.jetbrains.kotlin.ir.expressions.IrExpression import org.jetbrain...
3
Kotlin
740
921
dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b
1,852
android
Apache License 2.0
app/src/main/java/com/dluvian/voyage/ui/components/row/mainEvent/MainEventRow.kt
dluvian
766,355,809
false
{"Kotlin": 991595}
package com.dluvian.voyage.ui.components.row.mainEvent import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.core.tween import androidx.compose.animation.slideOutVertically import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.com...
36
Kotlin
4
39
9fe406eada1a905c8f1a2510196babd647444eff
7,006
voyage
MIT License
app/src/main/java/io/bibuti/opennews/core/BaseViewModel.kt
bibutikoley
325,942,445
false
null
package io.bibuti.opennews.core import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Observer import androidx.lifecycle.ViewModel /** * This class supports the ViewState concepts. * Extend VM from this class, if you want to use the view state functionality. *...
0
Kotlin
0
1
c59e27f8bc771d8339728657f7ee96d0e5d26520
1,085
OpenNews
MIT License
kotlin-code-generation/src/test/kotlin/spec/KotlinValueClassTest.kt
toolisticon
804,098,315
false
null
@file:OptIn(ExperimentalKotlinPoetApi::class) package io.toolisticon.kotlin.generation.spec import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.ExperimentalKotlinPoetApi import io.toolisticon.kotlin.generation.KotlinCodeGeneration.buildValueClass import io.toolisticon.kotlin.generation.TestFixture...
6
null
0
2
e16f4f5ab3fc01ca585e833caa67e85f9152caa6
1,560
kotlin-code-generation
Apache License 2.0
PlacesWishList/app/src/main/java/com/github/matthews8/placeswishlist/placefragment/PlaceListAdapter.kt
MatthewS8
375,648,877
false
{"Kotlin": 35136}
package com.github.matthews8.placeswishlist.placefragment import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.github.matthews8.placeswishlist.database.Pl...
0
Kotlin
0
0
010d1981156c7182f9c99b2db28447df9962677f
1,670
ProgettoSAM
MIT License
03-coroutines-ktor/src/main/kotlin/me/ilya40umov/kc/coroutines/friends/User.kt
ilya40umov
160,675,851
false
{"Kotlin": 55455}
package me.ilya40umov.kc.coroutines.friends data class User( val userId: Long, val name: String, val friendIds: List<Long> = emptyList() )
0
Kotlin
2
4
28c3db824b31d43a7c4db9ae58e8991df5acd81a
151
kotlin-concurrency
Apache License 2.0
src/main/kotlin/kotlinmudv2/action/actions/manipulate/CreateSacrificeErrorAction.kt
danielmunro
515,227,142
false
{"Kotlin": 214222, "Dockerfile": 179, "Makefile": 134}
package kotlinmudv2.action.actions.manipulate import kotlinmudv2.action.Action import kotlinmudv2.action.Command import kotlinmudv2.action.Syntax import kotlinmudv2.mob.Disposition fun createSacrificeErrorAction(): Action { return Action( Command.Sacrifice, listOf(Syntax.Command, Syntax.FreeForm),...
0
Kotlin
0
0
28b5a049c54ad072ccade19c9ad2bb36b9cf8909
447
kotlinmud-v2
MIT License
app/src/main/java/com/absut/todo/ui/task/TaskFragment.kt
Aksx73
533,222,652
false
{"Kotlin": 29719}
package com.absut.todo.ui.task import android.content.DialogInterface import android.os.Bundle import android.util.Log import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import androidx.appcompat.widget.SearchView import androidx.core.view.MenuHost import an...
0
Kotlin
0
1
223c7cb044319d841d2548bf6435c495004bce40
7,042
TodoApp
MIT License
database/src/test/kotlin/no/nav/su/se/bakover/database/klage/KlageinstanshendelsePostgresRepoTest.kt
navikt
227,366,088
false
null
package no.nav.su.se.bakover.database.klage import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain import no.nav.su.se.bakover.database.TestDataHelper import no.nav.su.se.bakover.database.withMigratedDb import no.nav.su.se.bakover.domain.jou...
5
null
1
1
d7157394e11b5b3c714a420a96211abb0a53ea45
5,548
su-se-bakover
MIT License
csstype-kotlin/src/jsMain/kotlin/web/cssom/BackfaceVisibility.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package web.cssom import seskar.js.JsValue sealed external interface BackfaceVisibility { companion object { @JsValue("hidden") val hidden: BackfaceVisibility @JsValue("visible") val visible: BackfaceVisibility } }
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
303
types-kotlin
Apache License 2.0
idea/testData/quickfix/autoImports/importTrait.before.Main.kt
JakeWharton
99,388,807
false
null
// "Import" "true" // ERROR: Unresolved reference: TestTrait fun test() { val a = <caret>TestTrait }
0
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
106
kotlin
Apache License 2.0
core/src/main/kotlin/dev/komu/kraken/utils/collections/CircularBuffer.kt
komu
83,556,775
false
{"Kotlin": 225797}
package dev.komu.kraken.utils.collections import java.util.* class CircularBuffer<E : Any>(capacity: Int): AbstractCollection<E>() { private val buffer = Array<Any?>(capacity) { null } private var start = 0 private var _size = 0 private var modCount = 0 init { require(capacity > 0) }...
0
Kotlin
0
0
680362d8e27c475b4ef1e2d13b67cb87f67249f6
3,016
kraken
Apache License 2.0
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/action/motion/updown/MotionShiftUpAction.kt
JetBrains
1,459,486
false
null
/* * Copyright 2003-2023 The IdeaVim authors * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE.txt file or at * https://opensource.org/licenses/MIT. */ package com.maddyhome.idea.vim.action.motion.updown import com.maddyhome.idea.vim.api.ExecutionContext import c...
9
null
749
9,241
66b01b0b0d48ffec7b0148465b85e43dfbc908d3
1,473
ideavim
MIT License
necsdkwrapper/src/main/java/jp/co/zeppelin/nec/hearable/necsdkwrapper/model/NecHearableVoiceMemoResp.kt
ZEPPELINpublic
238,634,924
false
null
package jp.co.zeppelin.nec.hearable.necsdkwrapper.model /** * NEC Hearable voice memo response observables * * (c) 2020 Zeppelin Inc., Shibuya, Tokyo JAPAN */ /** * Result of attempting to record voice memo to local .wav file */ sealed class NecHearableVoiceMemoRecordRespBase class NecHearableVoiceMemoRecordSu...
0
Kotlin
0
0
a7f6ff9365602a2b024eb2fa4eafa191422c0f89
736
earpiece_recognition
MIT License
js/js.translator/testData/box/rtti/sideEffectProperty.kt
JakeWharton
99,388,807
false
null
// EXPECTED_REACHABLE_NODES: 1117 package foo var counter = 0 class A { fun getCounter(): Any? = when (counter++) { 0 -> "0" 1 -> null else -> counter } } fun box(): String { assertEquals(false, A().getCounter() is Int?, "(1)") assertEquals(true, A().ge...
184
null
5691
83
4383335168338df9bbbe2a63cb213a68d0858104
450
kotlin
Apache License 2.0
debugger/src/main/kotlin/org/rust/debugger/runconfig/RsLocalDebugProcess.kt
SaarYogev
211,165,404
true
{"Kotlin": 3257698, "Rust": 77474, "Lex": 18933, "HTML": 11268, "Shell": 760, "Java": 586, "RenderScript": 318}
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.debugger.runconfig import com.intellij.execution.filters.TextConsoleBuilder import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi...
0
null
0
1
26be75d84b07150b9f4687216cc4923221de659f
2,945
intellij-rust
MIT License
plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/RegisteredApplicationComponent.kt
hieuprogrammer
284,920,751
true
null
import com.intellij.openapi.components.BaseComponent class RegisteredApplicationComponent : BaseComponent { class InnerStaticClassApplicationContext : BaseComponent }
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
170
intellij-community
Apache License 2.0
plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/RegisteredApplicationComponent.kt
hieuprogrammer
284,920,751
true
null
import com.intellij.openapi.components.BaseComponent class RegisteredApplicationComponent : BaseComponent { class InnerStaticClassApplicationContext : BaseComponent }
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
170
intellij-community
Apache License 2.0
compiler/testData/codegen/box/coroutines/featureIntersection/safeCallOnTwoReceivers.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: NATIVE // WITH_RUNTIME // WITH_COROUTINES import kotlin.coroutines.experimental.* import kotlin.coroutines.experimental.intrinsics.* import kotlin.test.assertEquals class A(val w: String) { suspend fun String.ext(): String = suspendCoroutineOrReturn { x -> x.resume(this + w) ...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,108
kotlin
Apache License 2.0
app/src/main/java/com/app/whakaara/ui/loading/Loading.kt
ahudson20
531,856,934
false
{"Kotlin": 536307}
package com.app.whakaara.ui.loading import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.width import androidx.compose.mater...
2
Kotlin
3
30
f63a8f59815bec094a6d0c19d0368a87a2b87923
1,186
whakaara
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sagemaker/CfnModelCardMetricDataItemsPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.sagemaker import io.cloudshiftdev.awscdkdsl.common.CdkDsl...
0
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
3,427
awscdk-dsl-kotlin
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sagemaker/CfnModelCardMetricDataItemsPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.sagemaker import io.cloudshiftdev.awscdkdsl.common.CdkDsl...
0
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
3,427
awscdk-dsl-kotlin
Apache License 2.0
cca-app/src/main/java/ru/sodajl/chordconsonanceanalyzer/MainActivity.kt
SoDa-Salie
407,555,972
false
null
package ru.sodajl.chordconsonanceanalyzer import android.app.Activity import android.os.Bundle import android.util.Log import android.view.View import android.view.Window import android.view.WindowManager import ru.sodajl.chordconsonanceanalyzer.androidaudiodevice.JSynAndroidAudioDevice import ru.sodajl.chordconsonanc...
0
Kotlin
0
0
4bd087690b73db5cfcc28446f2a7e526695feb02
4,287
ChordConsonanceAnalyzer
Apache License 2.0
src/main/kotlin/com/yanicksenn/miniretrieval/parser/AnyDocumentParser.kt
yanicksenn
512,225,699
false
{"Kotlin": 62130}
package com.yanicksenn.miniretrieval.parser import com.yanicksenn.miniretrieval.parser.adapter.PDFDocumentParser import com.yanicksenn.miniretrieval.parser.adapter.PPTDocumentParser import com.yanicksenn.miniretrieval.parser.adapter.TXTDocumentParser import com.yanicksenn.miniretrieval.to.Document import java.io.File ...
2
Kotlin
0
0
f168ac3a51a30478b21b73e40488266ff8ae9320
688
mini-retrieval
MIT License
amadeus-android/src/main/java/com/amadeus/android/Analytics.kt
amadeus4dev-examples
251,277,473
false
{"Kotlin": 407450}
package com.amadeus.android import com.amadeus.android.analytics.ItineraryPriceMetrics import com.squareup.moshi.Moshi import kotlinx.coroutines.CoroutineDispatcher import okhttp3.OkHttpClient import retrofit2.Retrofit class Analytics internal constructor( retrofit: Retrofit, dispatcher: CoroutineDispatcher )...
14
Kotlin
8
19
0dc89b54f1fceae6038d50a3566b1f7a2a874b90
512
amadeus-android
MIT License
node-api/src/main/kotlin/net/corda/nodeapi/internal/IdentityGenerator.kt
shotishu
116,027,287
true
{"Kotlin": 4488931, "Java": 224503, "Groovy": 11712, "Shell": 1884, "Batchfile": 106}
package net.corda.nodeapi.internal import net.corda.core.crypto.CompositeKey import net.corda.core.crypto.Crypto import net.corda.core.crypto.generateKeyPair import net.corda.core.identity.CordaX500Name import net.corda.core.identity.Party import net.corda.core.internal.cert import net.corda.core.internal.createDirect...
0
Kotlin
0
0
fe3c2b39839387f3a655024f26d96bc600b74d50
4,943
corda
Apache License 2.0
app/src/main/java/com/simplepeople/watcha/ui/main/favorite/FavoriteScreen.kt
hbjosemaria
786,895,118
false
{"Kotlin": 425852, "HTML": 9109}
package com.simplepeople.watcha.ui.main.favorite import androidx.compose.animation.Crossfade import androidx.compose.animation.core.tween import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.WindowInsets import androidx.compose....
0
Kotlin
0
3
9a0f988d4cee4a9c68122321b076ad75d348276a
5,952
Watcha
Apache License 2.0
P12781.kt
daily-boj
253,815,781
false
null
data class Vector2(val x: Double, val y: Double) : Comparable<Vector2> { fun cross(other: Vector2): Double = this.x * other.y - this.y * other.x operator fun times(r: Double): Vector2 = Vector2(this.x * r, this.y * r) operator fun plus(other: Vector2): Vector2 = Vector2(this.x + other.x, this.y + othe...
0
Rust
0
12
74294a4628e96a64def885fdcdd9c1444224802c
1,271
RanolP
The Unlicense
room/room-gradle-plugin/src/main/java/androidx/room/gradle/RoomSchemaCopyTask.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2024 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
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
5,619
androidx
Apache License 2.0
src/main/kotlin/days/Day9.kt
hughjdavey
159,955,618
false
null
package days import util.infiniteList import java.util.LinkedList class Day9 : Day(9) { private val players = inputString.substring(0..inputString.indexOf(" players")).trim().toInt() private val lastMarbleScore = inputString.substring(inputString.indexOf("worth ") + 6..inputString.indexOf(" points")).trim()....
0
Kotlin
0
0
4f163752c67333aa6c42cdc27abe07be094961a7
1,764
aoc-2018
Creative Commons Zero v1.0 Universal
src/main/kotlin/troy/apiModels/PhishingDomainModel.kt
daksh7011
440,123,158
false
{"Kotlin": 99491, "Groovy": 26750, "Dockerfile": 251}
package troy.apiModels import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class PhishingDomainModel( @SerialName("domains") val domains: List<String> )
1
Kotlin
1
0
4ad33716223657dcfa716b7ae90add6d13987cc8
212
troy
MIT License
src/dorkbox/peParser/headers/flags/DllCharacteristicsType.kt
dorkbox
28,162,386
false
null
/* * Copyright 2023 dorkbox, llc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
2
null
4
24
dae9521b4d5420e32b4a9e0015983868d856067e
1,941
PeParser
Creative Commons Zero v1.0 Universal
app/src/main/java/com/cerminnovations/moviesboard/data/remote/model/search/SearchDto.kt
mbobiosio
324,425,383
false
null
package com.cerminnovations.moviesboard.model.search import com.cerminnovations.moviesboard.model.response.Response import com.squareup.moshi.Json /* * Created by <NAME> on Jan 04, 2021. * Twitter: @cazewonder * Nigeria */ data class Search( @Json(name = "page") val page: Int?, @Json(name = "results") ...
0
null
3
7
07270aa17f45edabfb6792fd529c212e1c585ce4
486
MoviesBoard
MIT License
app/src/main/java/com/steven/movieapp/widget/refreshLoad/WrapRecyclerView.kt
StevenYan88
174,098,969
false
null
package com.steven.movieapp.widget.refreshLoad import android.content.Context import android.util.AttributeSet import android.view.View import androidx.recyclerview.widget.RecyclerView /** * Description: * Data:2019/2/20 * Actor:Steven */ open class WrapRecyclerView : RecyclerView { private lateinit var mWr...
1
null
23
76
7903af00677417a20cf1e06e8b647c762ed90585
1,478
MovieApp
Apache License 2.0
Ocean_Android/app/src/main/java/com/example/ocean_android_intro/MainActivity.kt
pcamposaugusto
437,975,205
false
null
package com.example.ocean_android_intro import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast class MainActivity : AppCompatA...
0
Kotlin
0
1
4066c98d9dc5e213679123cc887fb4bfc7d7e89b
2,285
Ocean_Android
MIT License
app/src/main/java/com/dluvian/nozzle/ui/app/navigation/PostCardNavLambdas.kt
dluvian
645,936,540
false
{"Kotlin": 679778}
package com.dluvian.nozzle.ui.app.navigation import com.dluvian.nozzle.model.Relay data class PostCardNavLambdas( val onNavigateToThread: (String) -> Unit, val onNavigateToProfile: (String) -> Unit, val onNavigateToReply: () -> Unit, val onNavigateToQuote: (String) -> Unit, val onNavigateToId: (St...
13
Kotlin
3
35
30ffd7b88fdb612afd80e422a0bfe92a74733338
426
Nozzle
MIT License
app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt
sirekanian
680,634,623
false
{"Kotlin": 107119}
package org.sirekanyan.outline.ui import android.content.Intent import android.content.Intent.ACTION_SENDTO import android.net.Uri import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.heightIn import androidx.compose.foundation...
5
Kotlin
0
35
5140a02d2559f9490fbed323341fb6cb72610866
4,787
outline
Apache License 2.0
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/medium/LocationPinBMedium.kt
SchweizerischeBundesbahnen
853,290,161
false
{"Kotlin": 6728512}
package ch.sbb.compose_mds.sbbicons.medium import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mi...
0
Kotlin
0
1
090a66a40e1e5a44d4da6209659287a68cae835d
4,180
mds-android-compose
MIT License
KotlinFromScratch/src/Functions.kt
Catherine22
177,104,765
false
{"Java": 464949, "Kotlin": 50932, "CMake": 1704, "C++": 476}
class Functions { fun test() { println("Basic functions") println(double(10)) println(triple(10)) println(isPrimeNumber(17)) println("") println("Default arguments") val s = "Function parameters can have default values, which are" read(s.toByteArray()...
1
Java
1
15
dae2c63815a5e054af01a757a0ac8c598d2857c9
2,262
Associate-Android-Developer-Practice
MIT License