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
app/src/main/java/com/pr0gramm/app/ui/fragments/FeedFragment.kt
Zz9uk3
158,547,370
true
{"Kotlin": 1141144, "Shell": 6640, "IDL": 3434, "Python": 1124}
package com.pr0gramm.app.ui.fragments import android.app.Dialog import android.content.Context import android.os.Bundle import android.view.* import android.view.animation.DecelerateInterpolator import android.widget.ImageView import android.widget.ScrollView import androidx.recyclerview.widget.GridLayoutManager impor...
0
Kotlin
0
0
c173fa90bfef3266b80fece6fc67909cd90eaf0b
51,788
Pr0
MIT License
permission-base/src/main/kotlin/com/github/b1412/permission/enums/ReplyType.kt
b1412
206,295,390
false
{"Gradle Kotlin DSL": 6, "Dockerfile": 1, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 120, "YAML": 3, "SQL": 13, "Java": 2, "XML": 1}
package com.github.b1412.permission.enums enum class ReplyType { NO, TEXT, VIDEO, PHOTO, CUSTOMIZE }
1
null
1
1
ee02bf12022ad23b334cb90b3f314be048c3d8eb
122
permission-api
Apache License 2.0
app/src/main/kotlin/com/vgaidarji/github/app/ui/repositories/RepositoriesViewModel.kt
vgaidarji
811,257,323
false
{"Kotlin": 17571}
package com.vgaidarji.github.app.ui.repositories import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class RepositoriesViewModel : ViewModel() { private val _text = MutableLiveData<String>().apply { value = "This is repositories Fragment" }...
0
Kotlin
0
0
6fc18bce5c690ca83ba04f52d09a6b2e50dd5e7c
362
github-android-app
Apache License 2.0
app/src/main/java/com/example/testgradle/db/EmployeeDao.kt
Asim87
412,477,029
false
null
package com.example.testgradle.db import androidx.room.* import com.example.testgradle.models.Employee import kotlinx.coroutines.flow.Flow @Dao interface EmployeeDao { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun insertEmployee(employee: Employee) @Transaction @Insert...
0
Kotlin
0
0
f833b0b42de293186ecbe25a13829bfba3568167
660
AndroidTest
Apache License 2.0
demo/src/main/java/ovh/plrapps/mapcompose/demo/ui/MapComposeDemoApp.kt
p-lr
359,208,603
false
null
package ovh.plrapps.mapcompose.demo.ui import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.runtime.Composable import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import androidx.navigation.compose.rememberNavController import ovh.plrapps.mapcompose...
7
Kotlin
7
96
e65762b45cc7418cbae54e0673405d109da7aadd
1,853
MapCompose
Apache License 2.0
kmongo-async-core/src/main/kotlin/org/litote/kmongo/async/MongoCollections.kt
leung018
241,749,271
true
{"Kotlin": 1628762, "Java": 1667, "Shell": 272}
/* * Copyright (C) 2017/2018 Litote * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
0
81b78fd416ba0b175d816958e589d9f884e4aa7c
37,084
kmongo
Apache License 2.0
app/src/main/java/com/cube/foodtoseeyou/adapter/SubCategoryAdapter.kt
kodeflap
465,057,014
false
{"Kotlin": 30575}
package com.cube.foodtoseeyou.adapter import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.cube.foodtoseeyou.R import com.cube.foodtoseeyou.entity.MealItem imp...
0
Kotlin
0
0
a63ab51c002cef6dbed8162c1d03898099ee3de6
1,791
Food_to_see_you
MIT License
app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt
vitorpamplona
587,850,619
false
null
package com.vitorpamplona.amethyst.ui.components import android.view.ViewGroup import android.widget.FrameLayout import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect import androidx.compose.runtime.remember import androidx.co...
102
Kotlin
70
604
a2d04c99081daa00cbd8ef6ef002c4e97bf94478
1,927
amethyst
MIT License
207-course-schedule/course-schedule.kt
AM-Kitty
783,747,812
false
{"Kotlin": 18364}
class Solution { fun canFinish(numCourses: Int, prerequisites: Array<IntArray>): Boolean { // Keywords: Graph (DFS), Map val courseGraph: HashMap<Int, MutableList<Int>> = hashMapOf() val courseVisitedSet = hashSetOf<Int>() // build the graph for (idx in 0..numCourses-1){ ...
0
Kotlin
0
0
3c8b94ceff3f0ce80c1785133dafc5460fc7c9a6
1,380
Leetcode-Kotlin
MIT License
core/src/main/java/com/dtb/core/common/utils/Preference.kt
DaoBillTang
109,212,518
false
{"Java": 322192, "Kotlin": 237828, "HTML": 1311}
package com.dtb.core.common.utils import android.content.Context import java.io.* import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty /** * Project com.daotangbill.exlib.commons.utils * Created by DaoTangBill on 2018/2/23/023. * Email:<EMAIL> * * @author bill * @version 1.0 * @descripti...
1
Java
4
4
2ae19a8c7986cd49fece58475ef0080e1ccc2204
3,441
MLib
Apache License 2.0
app/src/main/kotlin/io/mochadwi/di/local_datasource_module.kt
mochadwi
189,831,173
false
null
package io.mochadwi.di import io.mochadwi.data.datasource.webservice.AppWebDatasource import io.mochadwi.data.datasource.webservice.local.AndroidJsonReader import io.mochadwi.data.datasource.webservice.local.JsonReader import io.mochadwi.data.datasource.webservice.local.LocalFileDataSource import org.koin.android.ext....
0
Kotlin
1
29
65afc6ec314c39d09211cdac52d6be34a52c1c0e
593
android-social-app
Apache License 2.0
JvbTestApp/app/src/main/java/com/example/jvbtestapp/ApiClient.kt
jvb93
638,613,393
false
null
package com.example.jvbtestapp import retrofit2.Retrofit import retrofit2.converter.jackson.JacksonConverterFactory object ApiClient { private val baseUrl = "https://jsonplaceholder.typicode.com/" fun getClient(): Retrofit = Retrofit.Builder() .baseUrl(baseUrl) .addConverterFa...
0
Kotlin
0
0
b6242b5828b177793555db23c7d74390f4798dce
382
LearningKotlin
Apache License 2.0
src/test/kotlin/no/nav/syfo/rules/ValidationRuleChainSpek.kt
ybelMekk
217,385,092
true
{"Kotlin": 186163, "Dockerfile": 113}
package no.nav.syfo.rules import com.devskiller.jfairy.Fairy import com.devskiller.jfairy.producer.person.PersonProperties import com.devskiller.jfairy.producer.person.PersonProvider import java.time.LocalDate import java.time.LocalDateTime import java.time.format.DateTimeFormatter import no.nav.syfo.generateAdresse i...
0
null
0
0
fbc8439a2cf8cc0f8373323997f1be7d0592cae2
19,298
syfosmregler
MIT License
clef-workflow-api/clef-workflow-api-usecase/clef-workflow-api-usecase-stage/src/main/kotlin/io/quee/clef/workflow/api/usecase/stage/main/StageDetailsUseCase.kt
Quee-io
247,057,756
false
null
package io.quee.clef.workflow.api.usecase.stage.main import io.quee.api.develop.action.usecase.validation.ValidationFunctionalUseCase import io.quee.clef.workflow.api.common.response.ViewIdentify import io.quee.clef.workflow.api.domain.workflow.stage.task.StageTaskIdentity import io.quee.clef.workflow.api.usecase.fact...
1
Kotlin
0
0
217da218289fbbc1c1460309883d806dc52dc401
1,899
clef-workflow
Apache License 2.0
apps/mobile_app/src/main/kotlin/dev/marlonlom/apps/mocca/ui/common/MainNavHost.kt
marlonlom
700,962,032
false
{"Kotlin": 115473}
/* * Copyright 2023 Marlonlom * SPDX-License-Identifier: Apache-2.0 */ package dev.marlonlom.apps.mocca.ui.common import android.content.Intent import androidx.compose.runtime.Composable import androidx.compose.ui.platform.LocalContext import androidx.lifecycle.compose.collectAsStateWithLifecycle import androidx.n...
0
Kotlin
0
0
c09c08648fd2dea1351be1e39e21881d63fd432b
3,438
mocca
Apache License 2.0
app/src/main/kotlin/org/eduardoleolim/organizadorpec660/app/municipality/views/MunicipalityDeleteModal.kt
eduardoleolim
673,214,659
false
{"Kotlin": 832635}
package org.eduardoleolim.organizadorpec660.app.municipality.views import androidx.compose.foundation.layout.size import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Delete import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.runti...
0
Kotlin
0
0
03b792ab9ac76a05b367e5166ef2a53a38a5a38d
2,221
organizador-pec-6-60
Creative Commons Attribution 4.0 International
runtime/common/src/commonMain/kotlin/ru/capjack/csi/api/OuterService.kt
CaptainJack
133,022,786
false
null
package ru.capjack.csi.api import ru.capjack.tool.biser.BiserReader import ru.capjack.tool.biser.BiserWriter import ru.capjack.tool.io.InputByteBuffer import ru.capjack.tool.logging.debug import ru.capjack.tool.utils.pool.use import kotlin.jvm.Volatile @Suppress("FunctionName") abstract class OuterService( protected...
0
Kotlin
0
0
53f789667bfaaee7d43d1d5f36dab09e086d8813
4,470
csi-api
MIT License
app/src/test/java/com/lolozianas/cupecakeapp/OrderViewModelUnitTest.kt
LoloziAnas
456,622,909
false
{"Kotlin": 18559}
package com.lolozianas.cupecakeapp import androidx.arch.core.executor.testing.InstantTaskExecutorRule import com.lolozianas.cupecakeapp.model.OrderViewModel import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Rule import org.junit.Test /** * Example local unit test, which will execute on th...
0
Kotlin
0
0
e49da568a6df6ae497abb334e27ee77c5794ea70
1,014
cupcake-android-app
MIT License
services/csm.cloud.project.api.timeseries/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/workarealist/query/repository/WorkAreaListRepository.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: Robert Bosch Power Tools GmbH, 2018 - 2023 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.project.workarealist.query.repository im...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
945
bosch-pt-refinemysite-backend
Apache License 2.0
src/main/kotlin/io/github/breninsul/mpartners/Application.kt
BreninSul
813,084,634
false
{"Kotlin": 11888}
/* * MIT License * * Copyright (c) 2024 BreninSul * * 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...
0
Kotlin
0
0
cddfb225e45428181670cd9d9007e25a973d78f4
1,875
microsoft-partners-script
MIT License
idea/testData/hierarchy/class/type/InnerClass/main.kt
JakeWharton
99,388,807
true
null
class Base { inner class MyClass<caret> {} }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
48
kotlin
Apache License 2.0
Motocitizen/src/motocitizen/dictionary/Type.kt
elagin
41,307,837
true
{"Java": 581809, "Kotlin": 164510}
package motocitizen.dictionary import com.google.android.gms.maps.model.BitmapDescriptor import com.google.android.gms.maps.model.BitmapDescriptorFactory import motocitizen.main.R enum class Type(override val code: String, override val text: String, private val mapIcon: Int): Dictionary<String> { BREAK("b", "Пол...
1
Java
0
1
0b7bfd41c7701d19872deebd83fce0d60908383e
888
motocitizen
MIT License
composeApp/src/commonMain/kotlin/gemini/domain/model/GeminiDTO.kt
GilbertoPapa
808,631,367
false
{"Kotlin": 21571}
package gemini.domain.model data class GeminiDTO( val description: String )
0
Kotlin
0
0
ce47525bcd44927392430bc4819b08d7c8eb8b08
81
Gemini
MIT License
bukkit/src/main/java/pl/kakuszcode/discordreward/bukkit/user/service/DiscordService.kt
kakuszCode
567,027,556
false
{"Kotlin": 32703}
package pl.kakuszcode.discordreward.bukkit.user.service import pl.kakuszcode.discordreward.bukkit.db.Database import pl.kakuszcode.discordreward.bukkit.user.DiscordUser import java.util.* import java.util.logging.Logger import kotlin.collections.HashMap class DiscordService(val database: Database) { var hashMap =...
11
Kotlin
0
5
5a24314034df4347f1c273016a42aa513d584439
682
KakuszDiscordRewardPlugin
Apache License 2.0
src/test/kotlin/com/github/marlonlom/utilities/elapsed_time/ElapsedTimeUtilityTest.kt
marlonlom
277,035,450
false
null
package com.github.marlonlom.utilities.elapsed_time import java.text.SimpleDateFormat import java.util.Calendar import java.util.Locale import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.fail /** * Test utility class for elapsed time functionality. * * @author marlonlom */ class ElapsedTim...
0
Kotlin
0
0
07f603863b59ea3b932dbeb52b851b2f37dd4d01
3,823
elapsed_times
Apache License 2.0
presentation/src/main/java/com/fivestars/dagger2app/activities/dagger/TaskModule.kt
hetang
109,444,400
false
{"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 6, "XML": 15, "Kotlin": 20}
package com.fivestars.dagger2app.activities.dagger import com.fivestars.dagger2app.activities.TaskActivity import com.fivestars.dagger2app.activities.TaskView import dagger.Binds import dagger.Module /** * Created by Hetang.Shah on 11/29/17. */ @Module abstract class TaskModule { @Binds abstract fun provideTas...
0
Kotlin
0
2
45618a7c14a29ef89d5dd1e3b48430088d6072ec
828
android-dagger2-testing
MIT License
backend/src/test/kotlin/ch/zhaw/pm4/simonsays/factory/OrderMenuItemFactory.kt
SimonSays-PM4
766,576,264
false
{"Kotlin": 471832, "TypeScript": 405650, "JavaScript": 1971, "CSS": 1791, "Dockerfile": 1104, "HTML": 462}
package ch.zhaw.pm4.simonsays.factory import ch.zhaw.pm4.simonsays.entity.* import ch.zhaw.pm4.simonsays.repository.EventRepository import ch.zhaw.pm4.simonsays.repository.MenuItemRepository import ch.zhaw.pm4.simonsays.repository.OrderMenuItemRepository import ch.zhaw.pm4.simonsays.repository.OrderMenuRepository impo...
16
Kotlin
0
5
dfa6cf15770ae0749ca5062b3610c5d5da79ba07
1,923
simon-says
MIT License
app/src/main/java/za/co/nemesisnet/budgettracker/MainActivity.kt
NemesisGuy
716,458,071
false
{"Kotlin": 45174}
package za.co.nemesisnet.budgettracker import DisplayExpensesScreen import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.S...
0
Kotlin
0
0
abafcbffb5dc73fdea3012b95b5d315dc0c250f9
2,989
BudgetTracker
MIT License
app/src/main/java/net/blusutils/smupe/data/licenses/LicensedObject.kt
EgorBron
763,481,128
false
{"Kotlin": 248948, "MDX": 26392, "TypeScript": 13396, "JavaScript": 2503, "CSS": 2053}
package net.blusutils.smupe.data.licenses data class LicensedObject( val title: String, val license: LicenseInResources )
0
Kotlin
0
2
6e556d2f399cdbe6e1d62d8c9a196746a168738b
130
Smupe
Apache License 2.0
core/src/main/kotlin/org/rewedigital/katana/Aliases.kt
rewe-digital-incubator
155,181,363
false
null
package org.rewedigital.katana internal typealias Declarations = Map<Key, Declaration<*>>
1
Kotlin
9
183
4c55f29f793a35f77dff96ede2204fde12fc1cb4
91
katana
MIT License
app/src/main/kotlin/com/wiley/fordummies/androidsdk/tictactoe/model/UserAccountRepository.kt
acchampion
157,287,910
false
{"Kotlin": 158046, "Java": 9533}
package com.wiley.fordummies.androidsdk.tictactoe.model import android.app.Application import androidx.lifecycle.LiveData /** * Single point of accessing UserAccount data in the app. * * Source: https://developer.android.com/codelabs/android-room-with-a-view * * Created by acc on 2021/08/04. */ class UserAccoun...
0
Kotlin
3
3
a7ed3df4e9f69508350f72309cf4314e1aecb931
1,694
TicTacToeKotlin
Apache License 2.0
ground/src/test/java/com/google/android/ground/ui/datacollection/tasks/photo/PhotoTaskFragmentTest.kt
google
127,777,820
false
null
/* * Copyright 2023 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
235
null
115
245
bb5229149eb3687923a8391f30f7279e477562a8
2,850
ground-android
Apache License 2.0
src/main/java/com/statsig/androidLocalEvalSDK/StatsigNetwork.kt
statsig-io
715,257,746
false
{"Kotlin": 136589, "Java": 2068}
package com.statsig.androidLocalEvalSDK import android.content.SharedPreferences import kotlinx.coroutines.delay import kotlinx.coroutines.isActive import kotlinx.coroutines.withContext import kotlinx.coroutines.withTimeout import java.net.HttpURLConnection import java.net.URL import kotlin.math.pow // HTTP internal ...
0
Kotlin
0
0
feef3f892ccbafde0bc5db5d6344a4f28e5ba55d
8,146
android-local-eval
Apache License 2.0
app/src/main/java/com/example/messagezemoga/ui/descriptionpost/DescripcionPostFragment.kt
nicolasvc
371,859,293
false
null
package com.example.messagezemoga.ui.descriptionpost import android.graphics.drawable.Drawable import android.os.Bundle import android.view.* import androidx.fragment.app.Fragment import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import androidx.lifecycle.ViewModelProvider impo...
0
Kotlin
0
0
a98715c3f4bd72159cfef42419a18b246281d7fc
6,037
MessageZemoga
MIT License
assertk-coroutines/src/commonMain/kotlin/assertk/coroutines/assertions/flow.kt
willowtreeapps
88,210,079
false
null
@file:Suppress("SwallowedException") package assertk.coroutines.assertions import assertk.Assert import assertk.assertions.* import assertk.assertions.support.expected import assertk.assertions.support.expectedListDiff import assertk.assertions.support.show import kotlinx.coroutines.CancellationException import kotlin...
50
null
83
749
c67ae5acb7201064c1c8f08c088428873d64b523
6,110
assertk
MIT License
android/app/src/main/kotlin/com/example/futter_starter/MainActivity.kt
Aerotheory
430,932,630
false
{"HTML": 3863, "Dart": 640, "Swift": 404, "Kotlin": 131, "Objective-C": 38}
package com.example.futter_starter import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
HTML
0
0
d97bd4241eba946f685175d6f66896d8b887d18f
131
Flutter-Template
MIT License
built-ins/generator/sources/ClassTest.kt
meowool-catnip
458,815,907
false
{"Kotlin": 241696}
@file:Suppress("SpellCheckingInspection") import com.meowool.sweekt.runOrNull import com.squareup.kotlinpoet.asClassName import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test /** * @author 凛 (RinOrz) */ class ClassTest { @Test fun testNames() { runOrNull { Class.forName("Lvoid;") } shouldB...
6
Kotlin
0
1
0b26ee46d61a731b882d6617a05a2f3be3c3ad61
2,612
cloak
Apache License 2.0
app-desktop/src/main/kotlin/io/stardewvalleydesigner/screens/mainmenu/NewPlanMenu.kt
AzimMuradov
377,785,069
false
null
/* * Copyright 2021-2023 Azim Muradov * * 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...
6
null
0
3
cd9e302aa73f441b85a7e1f6ecf414f544295b23
2,514
stardew-valley-designer
Apache License 2.0
tangem-demo/src/main/java/com/tangem/tangemtest/_arch/widget/impl/StubWidget.kt
byennen
259,809,719
true
{"Kotlin": 449827}
package com.tangem.tangemtest._arch.widget.impl import android.view.ViewGroup import com.tangem.tangemtest.R import com.tangem.tangemtest._arch.structure.Id import com.tangem.tangemtest._arch.structure.abstraction.BaseItem import com.tangem.tangemtest._arch.structure.abstraction.BaseItemViewModel import com.tangem.tan...
0
null
0
1
92e1f653522aefde668fdc100230d62492487182
575
tangem-sdk-android
MIT License
tangem-demo/src/main/java/com/tangem/tangemtest/_arch/widget/impl/StubWidget.kt
byennen
259,809,719
true
{"Kotlin": 449827}
package com.tangem.tangemtest._arch.widget.impl import android.view.ViewGroup import com.tangem.tangemtest.R import com.tangem.tangemtest._arch.structure.Id import com.tangem.tangemtest._arch.structure.abstraction.BaseItem import com.tangem.tangemtest._arch.structure.abstraction.BaseItemViewModel import com.tangem.tan...
0
null
0
1
92e1f653522aefde668fdc100230d62492487182
575
tangem-sdk-android
MIT License
app/src/main/kotlin/cn/govast/vmusic/model/net/music/search/Privilege.kt
SakurajimaMaii
351,469,044
false
null
/* * Copyright 2022 <NAME> <EMAIL> * * 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 ...
2
Kotlin
0
8
af1cb8e620cb3e65f9ad5a0d05b240142db2608b
1,288
Music-Voice
Apache License 2.0
src/main/kotlin/in/xnnyygn/bittorrent/bencode/BEncodeParser.kt
xnnyygn
239,979,083
false
null
package `in`.xnnyygn.bittorrent.bencode import java.io.InputStream sealed class BEncodeElement data class NumberElement(val value: Long) : BEncodeElement() class ByteStringElement(val bytes: ByteArray) : BEncodeElement() { fun asString(): String = String(bytes) override fun equals(other: Any?): Boolean { ...
0
Kotlin
0
0
635cb8a9e812d92087c85df649b4723adb1ff4e5
9,140
bittorrent-client
MIT License
Browser/src/jvmMain/kotlin/io/nacular/doodle/dom/Event.kt
tchigher
327,057,480
true
{"Kotlin": 1534059}
package io.nacular.doodle.dom /** * Created by Nicholas Eddy on 3/12/20. */ actual abstract class EventTarget actual open class Event { actual val target = null as EventTarget? actual fun stopPropagation() {} actual fun preventDefault () {} } actual open class UIEvent : Event() actual open class Keybo...
0
null
0
0
c6aabc3904e468d8a630888f8ec2878ea29a5319
1,122
doodle
MIT License
protonsdk/src/main/java/com/metallicus/protonsdk/CurrencyBalancesModule.kt
Oki-Kaide
636,926,780
false
null
/* * Copyright (c) 2021 Proton Chain LLC, Delaware * * 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,...
0
Kotlin
0
2
35b14354e13e5ff90af1dc2e1472b6407cbb35b3
6,407
ProtonKotlin
MIT License
app/src/main/java/com/nikvik/quickinfo/global/koin/CommonModule.kt
webaddicted
408,062,556
false
{"Kotlin": 119150}
package com.nikvik.quickinfo.global.koin import com.nikvik.quickinfo.global.sharedpref.PreferenceMgr import com.nikvik.quickinfo.global.sharedpref.PreferenceUtils import org.koin.dsl.module /** * Created by Deepak Sharma on 01/07/19. */ val commonModelModule = module { single { PreferenceUtils() } single { ...
0
Kotlin
0
0
1ec95b1fbad96646674d98e7d5dade0aa0ee820b
344
FirebaseFirestore
Apache License 2.0
src/test/kotlin/no/nav/syfo/sykmelding/SykmeldingServiceTest.kt
navikt
238,714,111
false
null
package no.nav.syfo.sykmelding import io.kotest.core.spec.style.FunSpec import io.mockk.clearAllMocks import io.mockk.coEvery import io.mockk.mockk import java.time.OffsetDateTime import no.nav.syfo.sykmelding.db.SykmeldingDb import no.nav.syfo.sykmeldingstatus.getSykmeldingDTO import org.amshove.kluent.shouldBeEqualT...
1
null
0
1
a3587b73250b6dc176e5b8a01d15a8153eefeb15
1,051
sykmeldinger-backend
MIT License
common/design-format/src/commonMain/kotlin/io/stardewvalleydesigner/designformat/serializers/LayeredEntitiesSerializer.kt
AzimMuradov
377,785,069
false
{"Kotlin": 1064148, "HTML": 1659, "JavaScript": 461}
/* * Copyright 2021-2024 Azim Muradov * * 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...
23
Kotlin
1
5
21e1fe7d4d5aa472e7aeb321b943b991d4fb58b9
1,739
stardew-valley-designer
Apache License 2.0
src/main/kotlin/backend/constexpr/ConstexprEvaluationContext.kt
qwewqa
281,028,269
false
{"Kotlin": 316998, "HTML": 69267, "ANTLR": 38557}
package xyz.qwewqa.trebla.backend.constexpr import xyz.qwewqa.trebla.backend.ir.SeqLocation import xyz.qwewqa.trebla.backend.ir.SingleLocation import xyz.qwewqa.trebla.backend.ir.TempLocation class ConstexprEvaluationContext(val allowTemporary: Boolean = false, val allowMemory: Boolean = false) { private val memo...
1
Kotlin
1
5
09234f9919486f4479e9d59fa7d279adc3d1676f
2,614
trebla-
MIT License
src/main/kotlin/com/ukdw/api/PhonebookApplication.kt
hendisantika
87,754,258
false
null
package com.ukdw.api import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.SpringBootApplication @SpringBootApplication class PhonebookApplication fun main(args: Array<String>) { SpringApplication.run(PhonebookApplication::class.java, *args) }
0
Kotlin
2
0
eb2e47bbb8cbf7fecbcacb344775df72cb0991ef
292
phonebook
Apache License 2.0
example/android/app/src/main/kotlin/com/mt/flutter_aaos_example/MainActivity.kt
Marinethinking
763,549,039
false
{"Kotlin": 8803, "Dart": 4981}
package com.mt.flutter_aaos_example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity()
0
Kotlin
0
1
a9e24550019a9f5fc0d0ee293f41af05721fa4d1
128
flutter_aaos
Apache License 2.0
library/src/main/java/com/ktvipin/easyupdate/UpdatePriority.kt
ktvipin27
261,978,659
false
null
/* * Copyright 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 writin...
1
null
0
2
2b5ab38cd51bdfb3ed021249cd4566d7604e6c26
1,023
EasyUpdateManager
Apache License 2.0
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/media/MicAiFill.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.media 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
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,145
compose-icon-collections
MIT License
kool-core/src/jsMain/kotlin/de/fabmax/kool/platform/JsInputManager.kt
fabmax
81,503,047
false
null
package de.fabmax.kool.platform import de.fabmax.kool.InputManager import de.fabmax.kool.LocalKeyCode import de.fabmax.kool.UniversalKeyCode import de.fabmax.kool.math.MutableVec2d import de.fabmax.kool.util.logI import kotlinx.browser.document import kotlinx.browser.window import org.w3c.dom.HTMLCanvasElement import ...
9
null
12
163
a6f7c0dc1f7d9bfe0347315c2166af4d76401082
11,130
kool
Apache License 2.0
Desafios Orange/desafio-pix/KeyManager-GRPC/src/main/kotlin/br/com/zup/pix/chavepix/consulta/GrpcExtensions.kt
lucasrodrigues062
364,647,020
false
{"Java": 557405, "Kotlin": 299166, "Smarty": 8068, "Dockerfile": 188, "HTML": 149}
package br.com.zup.pix.chavepix.consulta import br.com.zup.pix.ConsultaChaveRequest import java.lang.IllegalArgumentException import javax.validation.ConstraintViolationException import javax.validation.Validator fun ConsultaChaveRequest.toModel(validator: Validator): DadosConsulta { val dadosConsulta = when(fi...
1
Java
1
3
f975f8de1478cbd25be4f22086846638c52d2751
885
Orange-Talents
MIT License
microphone-meter/android/src/main/java/expo/modules/microphonemeter/ReactNativeMicrophoneMeterView.kt
software-mansion-labs
685,897,746
false
{"Java": 81748, "TypeScript": 75861, "Swift": 48904, "Kotlin": 45208, "Ruby": 38725, "Objective-C++": 24030, "JavaScript": 20359, "Objective-C": 2943, "C": 927}
package expo.modules.microphonemeter import android.content.Context import expo.modules.kotlin.AppContext import expo.modules.kotlin.views.ExpoView class ReactNativeMicrophoneMeterView(context: Context, appContext: AppContext) : ExpoView(context, appContext)
1
Java
1
11
d3dccfdf9a9acc1b06296c1e4c72ab596658fe71
261
react-native-labs
MIT License
src/main/kotlin/ru/raysmith/google/model/api/PivotValueLayout.kt
RaySmith-ttc
750,736,250
false
{"Kotlin": 328386}
package ru.raysmith.google.model.api import com.google.api.services.sheets.v4.model.PivotTable /** The layout of pivot values. */ enum class PivotValueLayout { /** Values are laid out horizontally (as columns). */ HORIZONTAL, /** Values are laid out vertically (as rows). */ VERTICAL, } /** Whether...
0
Kotlin
0
0
589d360b52971f434dc8bee3740c00ba0ab4a199
739
google
Apache License 2.0
app/src/main/java/com/example/clone_daum/MainApp.kt
aucd29
159,471,417
false
{"Gradle": 5, "Java Properties": 4, "Shell": 1, "Text": 2, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 3, "XML": 200, "Kotlin": 254, "JSON": 7}
package com.example.clone_daum import android.content.Context import android.view.View import androidx.multidex.MultiDex import com.example.clone_daum.di.component.DaggerAppComponent import com.kakao.auth.KakaoAdapter import com.kakao.auth.KakaoSDK import dagger.android.AndroidInjector import dagger.android.support.Da...
0
Kotlin
0
2
759e4a0bbb96578a47cccf591015eb3b715cb3dc
1,806
clone-daum
Apache License 2.0
app/src/main/java/com/example/mykotlinapp/network/socket/SocketComponent.kt
vbounyasit
522,266,559
false
{"Kotlin": 507212}
package com.example.mykotlinapp.network.socket import android.util.Log import com.example.mykotlinapp.model.dao.SharedPreferenceDao import com.example.mykotlinapp.network.ApiServiceProvider import com.squareup.moshi.JsonAdapter import com.squareup.moshi.Moshi import io.socket.client.IO import io.socket.client.Socket i...
0
Kotlin
0
1
a9812a061f9214b44ba326b77afe335a003cc22e
2,555
MyAndroidApp
Apache License 2.0
libs/etterlatte-beregning-model/src/main/kotlin/SoeskenMedIBeregning.kt
navikt
417,041,535
false
{"Kotlin": 5369771, "TypeScript": 1270964, "Handlebars": 21854, "Shell": 10666, "HTML": 1776, "CSS": 598, "Dockerfile": 587}
package no.nav.etterlatte.libs.common.grunnlag.opplysningstyper import no.nav.etterlatte.libs.common.person.Folkeregisteridentifikator /* * Beregningsgrunnlag for hvilke soesken som skal tas med i beregningen * */ data class SoeskenMedIBeregning(val foedselsnummer: Folkeregisteridentifikator, val skalBrukes: Boolean...
10
Kotlin
0
6
5ad33e8f0e1ca9e1da75cfe0eaaf1770355b92ca
322
pensjon-etterlatte-saksbehandling
MIT License
libs/etterlatte-beregning-model/src/main/kotlin/SoeskenMedIBeregning.kt
navikt
417,041,535
false
{"Kotlin": 5369771, "TypeScript": 1270964, "Handlebars": 21854, "Shell": 10666, "HTML": 1776, "CSS": 598, "Dockerfile": 587}
package no.nav.etterlatte.libs.common.grunnlag.opplysningstyper import no.nav.etterlatte.libs.common.person.Folkeregisteridentifikator /* * Beregningsgrunnlag for hvilke soesken som skal tas med i beregningen * */ data class SoeskenMedIBeregning(val foedselsnummer: Folkeregisteridentifikator, val skalBrukes: Boolean...
10
Kotlin
0
6
5ad33e8f0e1ca9e1da75cfe0eaaf1770355b92ca
322
pensjon-etterlatte-saksbehandling
MIT License
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/Volume.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.cssggicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import android...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,462
compose-icons
MIT License
core-data/src/main/java/adven/news/shots/core/data/mapper/Mapper.kt
adventures92
615,760,318
false
null
package adven.news.shots.core.data.mapper fun interface Mapper<in Src, out Dest> { operator fun invoke(src: Src): Dest }
0
Kotlin
0
0
2fa90e59423cd2bb84ce5beb795b07dd2195fa9a
125
news_shots
MIT License
app/src/main/java/com/example/githubprofiler/auth/service/AuthUserServiceModel.kt
nsalazar0429
742,991,586
false
{"Kotlin": 43906}
package com.example.githubprofiler.auth.service import com.example.githubprofiler.auth.ui.model.AuthTokenUiModel import com.example.githubprofiler.auth.usecase.AuthTokenUseCaseModel import com.example.githubprofiler.common.service.ServiceModel import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) dat...
0
Kotlin
0
0
834f8bac4357fe58f09ea2c997094e58562109e9
593
github-profiler
MIT License
app/src/main/java/com/srilakshmikanthanp/clipbirdroid/ui/gui/MainActivity.kt
srilakshmikanthanp
679,518,906
false
{"Kotlin": 212119}
package com.srilakshmikanthanp.clipbirdroid.ui.gui import android.content.Intent import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material3.DrawerValue import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compo...
0
Kotlin
1
1
cc11c74a21636d043068dafed505f412336c77fc
3,736
clipbirdroid
MIT License
src/Day10.kt
timhillgit
572,354,733
false
null
import kotlin.math.absoluteValue class CPU { private var cycle = 0 private var X = 1 private val tape = mutableListOf(0) private fun signalStrength() = cycle * X fun run(instructions: List<List<String>>): Int { val iter = instructions.listIterator() val pipeline = ArrayDeque<List<...
0
Kotlin
0
2
76c6e8dc7b206fb8bc07d8b85ff18606f5232039
1,662
advent-of-code-2022
Apache License 2.0
raindrop-app/src/main/java/moe/aoramd/raindrop/view/playlist/PlaylistAdapter.kt
ashishkharcheiuforks
256,655,890
true
{"Kotlin": 174764}
package moe.aoramd.raindrop.view.playlist import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.RecyclerView import moe.aoramd.raindrop.R import moe.aoramd.raindrop.databinding.LayoutSongItemBinding import moe.aoramd.raindrop.re...
0
null
0
0
4285c6a5abade6e0c50a821edce9d5a6919de7fe
1,564
Raindrop
Apache License 2.0
src/main/java/zemoa/OwsslFactoryApp.kt
zemoa
382,915,197
false
null
package zemoa import javafx.application.Application import javafx.application.Platform import javafx.fxml.FXMLLoader import javafx.scene.Scene import javafx.scene.layout.AnchorPane import javafx.stage.Stage import javafx.util.Callback import org.slf4j.LoggerFactory import org.springframework.boot.builder.SpringApplica...
1
Kotlin
0
1
0e97ed135d1d3ecf7572c76cd7f20025538abd3c
1,397
owssl-factory
Apache License 2.0
app/src/main/java/com/matthew/carvalhodagenais/coinhuntingbuddy/ui/components/NoItemsWarning.kt
mcd-3
474,478,959
false
{"Kotlin": 242534}
package com.matthew.carvalhodagenais.coinhuntingbuddy.ui.components import androidx.compose.foundation.layout.* import androidx.compose.material.Icon import androidx.compose.material.Text import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.* import androidx.compose.runtime.Compos...
4
Kotlin
0
1
af1eec1593abdef3c83a85cb398093d4f9c29f0e
2,062
coin-hunting-buddy
MIT License
meistercharts-canvas/src/commonMain/kotlin/com/meistercharts/algorithms/layers/axis/MultiValueAxisLayer.kt
Neckar-IT
599,079,962
false
null
/** * 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
null
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
5,752
meistercharts
Apache License 2.0
app/src/main/java/com/breezelinktelecom/features/photoReg/model/GetUserListResponse.kt
DebashisINT
851,532,207
false
{"Kotlin": 15739075, "Java": 1026627}
package com.breezelinktelecom.features.photoReg.model import com.breezelinktelecom.features.stockAddCurrentStock.model.CurrentStockGetDataDtls class GetUserListResponse { var status:String ? = null var message:String ? = null var user_list :ArrayList<UserListResponseModel>? = null }
0
Kotlin
0
0
6b0e10f53cfab02f3790b9064bd705ee3dc87fef
297
LinkTelecom
Apache License 2.0
app/src/main/java/com/nehak/instagramfeed_compose/widgets/InstagramFeedItemView.kt
NehaKushwah993
847,439,378
false
{"Kotlin": 30501}
package com.nehak.instagramfeed_compose.widgets import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.pager.Horizontal...
0
Kotlin
0
0
7acdda3941fe8bddc01407aca2f742313ca5c465
2,696
Instagram-Feed-Compose
MIT License
app/src/main/java/com/manish/shaadi/shaadimatch/data/MatchDTO.kt
manishpatel6314
389,415,305
false
null
package com.manish.shaadi.shaadimatch.data import androidx.lifecycle.LiveData import androidx.room.* import com.manish.shaadi.helper.Logger @Dao interface MatchDTO { @Insert(onConflict = OnConflictStrategy.IGNORE) fun insertMatches(matches: List<MatchData>) @Transaction fun insertMatchesInTable(matc...
1
null
1
1
b5918c204b454f3bf193d8de4101d187c9cf9438
822
shaadiMatches
Apache License 2.0
apps/app/src/main/kotlin/io/agora/meeting/WebActivity.kt
AgoraIO-Usecase
390,732,016
false
null
package io.agora.meeting import android.content.Context import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar import io.agora.meeting.ui.adapter.BindingAdapters import io.agora.meeting.ui.base.AppBarDelegate import io.agora.meeti...
3
null
4
6
25739896f4a20e9e0fa01a005dc361b1030192c1
1,395
AgoraMeeting-Android
MIT License
src/ggi/SimplePlayerInterface.kt
hopshackle
225,904,074
false
null
package ggi interface SimplePlayerInterface { fun getAction(gameState: AbstractGameState, playerRef: Int): Int fun reset(): SimplePlayerInterface fun getAgentType(): String } interface SimpleActionPlayerInterface : SimplePlayerInterface { override fun getAction(gameState: AbstractGameState, playerRef:...
0
Kotlin
0
0
e5992d6b535b3f4a6552bf6f2351865a33d56248
679
SmarterSims
MIT License
mod/src/main/kotlin/extracells/helper/ServerHelper.kt
rougsig
456,123,804
true
{"Java Properties": 1, "Shell": 2, "Markdown": 5, "Batchfile": 1, "Kotlin": 87, "Java": 214, "INI": 1}
package extracells.helper import net.minecraft.world.World fun isClientWorld(world: World): Boolean { return world.isRemote } fun isServerWorld(world: World): Boolean { return !world.isRemote }
0
Java
0
0
29c91de3bbfaca34b4b14f70742d6d420eaf5aaf
201
ExtraCells2
MIT License
compose-designer/testSrc/com/android/tools/idea/compose/gradle/datasource/ParametrizedPreviewTest.kt
phpc0de
470,555,455
false
{"Java": 39631279, "Kotlin": 28526369, "HTML": 1206758, "Starlark": 482060, "C": 66005, "Python": 59985, "NSIS": 58515, "Lex": 46798, "CMake": 24483, "JavaScript": 18437, "C++": 11882, "Shell": 7470, "RenderScript": 4411, "AIDL": 3251, "Makefile": 2298, "IDL": 269, "QMake": 18}
/* * Copyright (C) 2020 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...
0
Java
1
1
79e20f027ca1d047b91aa7acd92fb71fa2968a09
4,664
idea-android
Apache License 2.0
volley-ext/src/main/java/com/uoooo/volley/ext/toolbox/VolleyFormBodyRequest.kt
uOOOO
186,097,151
false
{"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 28, "XML": 11, "YAML": 1, "INI": 1, "Java": 1}
package com.uoooo.volley.ext.toolbox import com.android.volley.Response import com.uoooo.volley.ext.Request import com.uoooo.volley.ext.parser.ResponseParser class VolleyFormBodyRequest<T>( method: Int, url: String, headers: Map<String, String>? = null, listener: Response.Listener<T>? = null, erro...
1
null
1
1
e31f338352e0ac3619237ef8f0008021afff436b
620
simple-volley-extensions
Apache License 2.0
messaging/app/src/main/java/com/google/firebase/example/messaging/kotlin/MainActivity.kt
pratikbutani
306,531,997
false
null
package com.google.firebase.example.messaging.kotlin import android.accounts.AccountManager import android.annotation.SuppressLint import androidx.appcompat.app.AppCompatActivity import android.util.Log import com.google.android.gms.auth.GoogleAuthUtil import com.google.firebase.messaging.FirebaseMessaging import com....
1
null
0
1
985f723931f2a0c437cb222c458128750e95b8cf
4,711
snippets-android
Creative Commons Attribution 4.0 International
libraries/stdlib/src/kotlin/Arrays.kt
Yanflea
3,888,565
false
null
package kotlin import java.io.ByteArrayInputStream import java.util.Arrays import java.nio.charset.Charset import java.util.List import java.util.ArrayList import jet.runtime.Intrinsic // Array "constructor" [Intrinsic("kotlin.arrays.array")] public inline fun <T> array(vararg t : T) : Array<T> = t // "constructor...
1
null
1
1
0cb26b056696df290328a11d08e05469b2198171
9,324
kotlin
Apache License 2.0
core/src/main/java/com/oscleton/sdk/utils/BrowserItemUtils.kt
ArthurVimond
143,203,233
false
null
package com.oscleton.sdk.utils internal object BrowserItemUtils { fun getNodes(uri: String): List<String> { return uri .removePrefix("query:") .split("#", ":") .map { it.replace("%20", " ") } } }
1
null
1
7
6b409e77e321b9d7ff594c91dafc064fc1ac64f0
262
oscleton-android-sdk
Apache License 2.0
idea/src/org/jetbrains/kotlin/idea/intentions/SamConversionToAnonymousObjectIntention.kt
tnorbye
162,147,688
true
null
/* * Copyright 2010-2018 JetBrains s.r.o. 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.idea.intentions import com.intellij.codeInsight.intention.LowPriorityAction import com.intellij.openapi.editor.Editor import c...
0
Kotlin
2
2
b6be6a4919cd7f37426d1e8780509a22fa49e1b1
4,989
kotlin
Apache License 2.0
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractDoubleColonReceiverTypeTest.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.test.cases.components.typeInfoProvider import org.jetbrai...
181
null
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,676
kotlin
Apache License 2.0
mobile-sdk/src/main/java/com/webitel/mobile_sdk/data/calls/VoiceApi.kt
webitel
718,074,109
false
{"Gradle": 4, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 8, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 2, "Proguard": 3, "Kotlin": 84, "XML": 27, "Java": 453, "Protocol Buffer": 74, "JSON": 3, "Motorola 68K Assembly": 3, "SQL": 1}
package com.webitel.mobile_sdk.data.calls import com.webitel.mobile_sdk.data.calls.sip.SipConfig import com.webitel.mobile_sdk.domain.CallbackListener internal interface VoiceApi { fun getSipConfig(callback: CallbackListener<SipConfig>) }
0
Java
0
0
022c6f1815cd6acefc2bca066e9d051b05ae9801
245
mobile-sdk-android
MIT License
compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.kt
JetBrains
3,432,266
false
null
// !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT /* * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) * * SECTIONS: dfa * NUMBER: 8 * DESCRIPTION: Raw data flow analysis test * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses */ // TESTCASE NUMBER: 1 fun case_1(x: Class?) { ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,842
kotlin
Apache License 2.0
bbfgradle/tmp/results/BACKUP_JVM/BACKEND_pnxgiij_FILE.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Bug happens on JVM //File: tmp/tmp0.kt fun box() { testArray!!<Any>::class }
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
83
kotlinWithFuzzer
Apache License 2.0
jetbrains-core/src/software/aws/toolkits/jetbrains/core/explorer/devToolsTab/nodes/CawsRootNode.kt
aws
91,485,909
false
null
// Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.core.explorer.devToolsTab.nodes import com.intellij.ide.projectView.PresentationData import com.intellij.ide.util.treeView.AbstractTreeNode import com.intellij.open...
410
null
182
716
ef0bd8cb1cdbda7d510dd53c1bf9c725fc6f79ab
2,692
aws-toolkit-jetbrains
Apache License 2.0
app/src/main/java/com/jvmartinez/marvelinfo/ui/signUp/SignUpViewModel.kt
jvmartinez
351,293,028
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 55, "XML": 60, "JSON": 1, "Java": 1}
package com.jvmartinez.marvelinfo.ui.signUp import androidx.lifecycle.ViewModel import androidx.lifecycle.liveData import com.jvmartinez.marvelinfo.core.data.remote.firebase.FirebaseManager import kotlinx.coroutines.Dispatchers class SignUpViewModel(private val firebaseManager: FirebaseManager) : ViewModel() { f...
0
Kotlin
1
0
f178ceac355d044de6a6acf775ea4dffa0f64694
521
marvelInfo
MIT License
publisher-sdk/src/androidTest/java/com/criteo/publisher/util/AdvertisingInfoTest.kt
criteo
276,380,681
false
{"Java": 1090077, "Kotlin": 899149, "Groovy": 5188}
/* * Copyright 2020 Criteo * * 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 ...
4
Java
8
12
5758799caec064ab0501bbe2052210a226abc2cd
6,319
android-publisher-sdk
Apache License 2.0
demo/src/main/java/me/yokeyword/sample/demo_wechat/base/BaseBackFragment.kt
GGjin
115,268,401
false
{"Java": 184412}
package me.yokeyword.sample.demo_wechat.base import android.os.Bundle import android.support.v7.widget.Toolbar import android.view.View import me.yokeyword.fragmentation_swipeback.SwipeBackFragment import me.yokeyword.sample.R /** * Created by YoKeyword on 16/2/7. */ open class BaseBackFragment : SwipeBackFragment...
1
Java
1
1
b9d4da444ae0da47b23a84c4efeaa2be24ba12e7
763
Fragmentation-kotlin-master
Apache License 2.0
uni-core/src/main/kotlin/com/github/cf/discord/uni/commands/Unban.kt
CFTheMaster
180,089,535
false
null
/* * Copyright (C) 2017-2021 computerfreaker * * 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...
0
Kotlin
0
6
2991c26ffe416aa48ffd978153c866849c6462a7
2,092
Unibot
Apache License 2.0
app/src/main/java/net/wuqs/ontime/feature/missedalarms/MissedAlarmsActivity.kt
wuqs-net
164,961,122
false
{"Kotlin": 189633}
package net.wuqs.ontime.feature.missedalarms import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.LinearLayoutManager import kotlinx.android.synthetic.main.activity_missed_alarms.* import net.wuqs.ontime.R import net.wuqs.ontime.alarm.ACTION_DISMISS_ALL_MISSED_AL...
4
Kotlin
0
2
beb2c22ab4c57f2373063b541f36136d170fdb63
1,790
ontime
MIT License
app/src/main/java/com/cristianovecchi/mikrokanon/midi/PlayerAccompanist.kt
CristianoVecchi
358,026,092
false
null
package com.cristianovecchi.mikrokanon.midi import com.cristianovecchi.mikrokanon.AIMUSIC.* import com.cristianovecchi.mikrokanon.AIMUSIC.JazzChord.* import com.cristianovecchi.mikrokanon.convertDodecabyteToInts import com.cristianovecchi.mikrokanon.convertFlagsToInts import com.leff.midi.MidiTrack import com.leff.mid...
0
Kotlin
0
2
370387d8c2beebd4caa2ad9faae75961adb2fd70
10,525
MikroKanon
MIT License
browser-kotlin/src/jsMain/kotlin/web/rtc/RTCRtpCodecParameters.kt
karakum-team
393,199,102
false
{"Kotlin": 6912722}
// Automatically generated - do not modify! package web.rtc import kotlinx.js.JsPlainObject @JsPlainObject sealed external interface RTCRtpCodecParameters : RTCRtpCodec { var payloadType: Short /* unsigned byte */ }
0
Kotlin
7
31
d1315f1524758eb6883a4f7e0a0da46816152ed8
227
types-kotlin
Apache License 2.0
src/test/kotlin/io/github/divinespear/plugin/FormatFileTest.kt
divinespear
12,939,371
false
null
package io.github.divinespear.plugin import com.github.difflib.DiffUtils import io.kotest.core.spec.style.WordSpec import io.kotest.core.spec.tempfile import io.kotest.matchers.and import io.kotest.matchers.collections.beEmpty import io.kotest.matchers.nulls.beNull import io.kotest.matchers.paths.aFile import io.kotes...
3
Kotlin
12
44
543384a79bd258dcf4fa95f70ad7cb991bde54d6
2,131
jpa-schema-gradle-plugin
Apache License 2.0
solve-problog/src/commonTest/kotlin/it/unibo/tuprolog/solve/problog/prolog/TestProblogSubAtom.kt
tuProlog
230,784,338
false
{"Kotlin": 3949669, "Java": 18690, "ANTLR": 10366, "CSS": 1535, "JavaScript": 894, "Prolog": 818}
package it.unibo.tuprolog.solve.problog.prolog import it.unibo.tuprolog.solve.SolverFactory import it.unibo.tuprolog.solve.TestSubAtom import it.unibo.tuprolog.solve.problog.ProblogSolverFactory import kotlin.test.Test class TestProblogSubAtom : TestSubAtom, SolverFactory by ProblogSolverFactory { private val pro...
92
Kotlin
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
1,533
2p-kt
Apache License 2.0
app/src/main/java/com/shevelev/comics_viewer/common/structs/Size.kt
AlShevelev
232,800,756
false
null
package com.shevelev.comics_viewer.common.structs /** * Size in pixels */ class Size(val width: Int, val height: Int) { val isVertical: Boolean get() = height > width /** * Scaling with saving proportions */ fun scale(scaleFactor: Float): Size { val tmpWidth = scaleFactor * wi...
1
null
1
1
884ffda569da9c00977b01472b74fe9f68674b25
1,672
comics_viewer
MIT License
openrndr/src/main/kotlin/sketch/flow/F19_OrbitNoOverlap.kt
ericyd
250,675,664
false
null
/** * Create new works here, then move to parent package when complete */ package sketch.flow import extensions.CustomScreenshots import force.GravityBody import force.GravitySystem import force.PhysicalBody import org.openrndr.application import org.openrndr.color.ColorRGBa import org.openrndr.color.hsla import org...
2
Kotlin
1
56
09511d4a78272f9de1e9fa9626de3c0cb7ba3177
5,895
generative-art
MIT License
app/src/main/java/code_setup/ui_/settings/views/profile/ProfileFragment.kt
himalayanDev
293,483,735
false
null
package code_setup.ui_.settings.views.profile import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import code_setup.app_core.CoreFragment import code_setup.ui_.home.views.HomeActivity import com.electrovese.setup.R import kotlinx.android.synthetic.main.tra...
1
Kotlin
1
1
5c318e92bf68e39ea6b4310f2a84b601f0e4199d
870
Template
Apache License 2.0
demo/src/main/java/com/adamkobus/android/vm/demo/ui/Paddings.kt
AdamKobus
455,663,044
false
null
package com.adamkobus.android.vm.demo.ui import androidx.compose.ui.unit.dp object Paddings { val Screen = 16.dp val ListElementSpacing = 10.dp val ListItemHorizontal = 16.dp val ListItemVertical = 12.dp }
0
Kotlin
0
0
32aa4b04bd04a65908407ddbdc2c83e671f3e5ec
225
lifecycle-aware-viewmodel
MIT License
src/main/kotlin/com/k/pmpstudy/dialog/RenameConfirmDialog.kt
Miura-KR
395,952,470
false
{"Kotlin": 9366}
package com.k.pmpstudy.dialog import com.intellij.openapi.ui.DialogWrapper import com.intellij.psi.PsiDirectory import com.intellij.ui.dsl.builder.RowLayout import com.intellij.ui.dsl.builder.panel import com.k.pmpstudy.domain.ReplaceInfo import javax.swing.JComponent class RenameConfirmDialog( private val target...
2
Kotlin
0
3
fb13c4ce0155974fe17454b6795053f5b9e15d9a
1,512
RenameFilesRefactorBatch-intellij
Apache License 2.0