path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/i_introduction/_7_Nullable_Types/JavaCode7.kt
baob
174,869,530
true
{"Kotlin": 71488, "Java": 4952}
package i_introduction._7_Nullable_Types import util.JavaCode class JavaCode7 : JavaCode() { fun sendMessageToClient(client: Client?, message: String?, mailer: Mailer) { if (client == null || message == null) return val personalInfo = client.personalInfo ?: return val email = personalIn...
0
Kotlin
0
0
f85cac368b4cb5c79218fe348b16c9feb5560d0c
391
sandbox-kotlin-koans
MIT License
src/main/kotlin/com/codeflix/admin/catalog/application/category/retrieve/list/DefaultListCategoriesUseCase.kt
Fernandounuts
753,396,308
false
{"Kotlin": 24619}
package com.codeflix.admin.catalog.application.category.retrieve.list import com.codeflix.admin.catalog.domain.category.Category import com.codeflix.admin.catalog.domain.category.CategoryGateway import com.codeflix.admin.catalog.domain.category.CategorySearchQuery import com.codeflix.admin.catalog.domain.pagination.Pa...
0
Kotlin
0
0
f3c453852418ecf746a6993594b2a12b32fd359e
672
CodeFlix-Catalog
MIT License
data/src/main/java/com/dehboxturtle/data/persistence/entity/NoteEntity.kt
dehboxturtle
289,759,994
true
{"Kotlin": 146460}
package com.dehboxturtle.data.persistence.entity import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.dehboxturtle.data.persistence.entity.NoteEntity.Companion.NOTE_TABLE @Entity(tableName = NOTE_TABLE) class NoteEntity( @PrimaryKey @ColumnInfo(name = NOTE_ID) val...
0
Kotlin
0
0
e5c2a00c67d198c21cd052a5e45be5dce375ac96
989
CleanRxNotes
Apache License 2.0
app/src/main/java/com/github/jobs/android/data/remote/ApiEndPoint.kt
ajaysaini-sgvu
134,139,216
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "XML": 19, "Kotlin": 42, "Java": 1, "YAML": 1}
package com.github.jobs.android.data.remote object ApiEndPoint { const val ENDPOINT_GITHUB_JOBS = "/positions.json" }// This class is not publicly instantiable
1
null
1
1
f4da5af5ee5415bb70d92505f887649cb8a6a363
166
github-jobs
Apache License 2.0
app/src/main/java/com/thewizrd/simpleweather/images/BaseImageDataService.kt
SimpleAppProjects
82,603,731
false
null
package com.thewizrd.simpleweather.images import android.net.Uri import androidx.annotation.WorkerThread import androidx.core.content.edit import com.thewizrd.shared_resources.appLib import com.thewizrd.simpleweather.images.model.ImageData abstract class BaseImageDataService : ImageDataService { private val prefe...
0
null
8
37
56ddf09611d786e3bb2b802bdbcbbec648f0df9a
1,027
SimpleWeather-Android
Apache License 2.0
library/src/main/java/com/ghostwan/robotkit/ext/StringExt.kt
ghostwan
124,658,181
false
null
package com.ghostwan.robotkit.ext import java.security.MessageDigest /** * Created by erwan on 15/03/2018. */ fun String.sha512(): String { return this.hashWithAlgorithm("SHA-256") } private fun String.hashWithAlgorithm(algorithm: String): String { val digest = MessageDigest.getInstance(algorithm) val ...
23
Kotlin
1
8
5b1e712429a85be75814f56a811bcfd989cec2c6
442
robotkit
Apache License 2.0
app/src/main/java/com/sandello/ndscalculator/VatFragment.kt
jedi1150
233,482,516
false
{"Kotlin": 43662}
package com.sandello.ndscalculator import android.annotation.SuppressLint import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.content.Context.CLIPBOARD_SERVICE import android.content.Context.MODE_PRIVATE import android.content.SharedPreferences import a...
0
Kotlin
0
1
8fd6aaa5d18aad7668c61c3b8dbad220879de0f4
19,318
vat-calculator
MIT License
app/src/main/java/com/example/jsonplaceholder/data/model/todos/TodosModelItemModel.kt
Reshma2497
635,314,398
false
null
package com.example.jsonplaceholder.data.model.todos import com.google.gson.annotations.SerializedName data class TodosModelItemModel( @SerializedName("completed") val completed: Boolean? = false, @SerializedName("id") val id: Int? = 0, @SerializedName("title") val title: String? = "", @S...
0
Kotlin
0
0
dfcae89e54196e236f15e4807e770f085b68342f
370
JSONPlaceHolder
MIT License
backend/src/main/kotlin/fr/gouv/cacem/monitorenv/infrastructure/api/endpoints/bff/v1/Reportings.kt
MTES-MCT
462,794,012
false
{"TypeScript": 1358478, "Kotlin": 815514, "Python": 209694, "Shell": 21375, "CSS": 19997, "JavaScript": 8409, "Makefile": 8169, "Dockerfile": 6554, "PLpgSQL": 4966, "HTML": 864}
package fr.gouv.cacem.monitorenv.infrastructure.api.endpoints.bff.v1 import fr.gouv.cacem.monitorenv.domain.entities.reporting.ReportingTypeEnum import fr.gouv.cacem.monitorenv.domain.entities.reporting.SourceTypeEnum import fr.gouv.cacem.monitorenv.domain.entities.reporting.TargetTypeEnum import fr.gouv.cacem.monitor...
190
TypeScript
1
3
f755ce65909e473e564ff5e273b9b4930e82ad4d
6,973
monitorenv
MIT License
app/src/main/kotlin/pl/pszklarska/livedatabinding/view/BaseActivity.kt
quarl894
173,584,302
false
null
package pl.pszklarska.livedatabinding.view import android.databinding.DataBindingUtil import android.databinding.ViewDataBinding import android.os.Bundle import android.support.v7.app.AppCompatActivity abstract class BaseActivity<T:ViewDataBinding> : AppCompatActivity() { lateinit var viewDataBinding: T abst...
0
Kotlin
0
0
60545f2c4c5d10a4a739eb5f730beed59485d58f
542
dataBinding_ex
MIT License
mobius-coroutines/src/test/java/com/spotify/mobius/coroutines/FlowEventSourcesTest.kt
spotify
118,132,535
false
{"Java": 732520, "Kotlin": 61335, "Shell": 406}
/* * -\-\- * Mobius * -- * Copyright (c) 2017-2020 Spotify AB * -- * 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 req...
3
Java
97
1,221
aba58eaf840b26470a17ffa9ea3fb52b565393b0
10,340
mobius
Apache License 2.0
ui/src/main/java/de/iskae/ui/YetAnotherWeatherApplication.kt
iskae
170,329,616
false
null
package de.iskae.ui import android.app.Activity import android.app.Application import dagger.android.AndroidInjector import dagger.android.DispatchingAndroidInjector import dagger.android.HasActivityInjector import de.iskae.ui.di.DaggerApplicationComponent import timber.log.Timber import javax.inject.Inject class Yet...
2
Kotlin
0
0
594f574c90ffe7ca078e4ccdc2a87d998d3d7a6a
874
YetAnotherWeather
MIT License
sketch-zoom/src/main/java/com/github/panpf/sketch/zoom/OnDragFlingListener.kt
fltwlulu
188,455,050
true
{"Kotlin": 2378560, "Java": 66224}
package com.github.panpf.sketch.zoom fun interface OnDragFlingListener { fun onFling(startX: Float, startY: Float, velocityX: Float, velocityY: Float) }
0
Kotlin
0
0
c9ff98d80c36d7c4ba5c28bbf358dc8ee53278b1
157
sketch
MIT License
app/src/testShared/com/mateuszcholyn/wallet/manager/ext/core/expense/UpdateExpenseUseCaseExt.kt
mateusz-nalepa
467,673,984
false
{"Kotlin": 606018}
package com.mateuszcholyn.wallet.manager.ext.core.expense import com.mateuszcholyn.wallet.backend.api.core.category.CategoryId import com.mateuszcholyn.wallet.backend.api.core.expense.Expense import com.mateuszcholyn.wallet.backend.api.core.expense.ExpenseId import com.mateuszcholyn.wallet.manager.ExpenseAppManager im...
0
Kotlin
0
0
22fd86fbb5d9c360b1b86ab040a876b971a74d9a
1,610
wallet
Apache License 2.0
src/test/kotlin/org/rust/lang/core/completion/RustStdlibCompletionTest.kt
bgourlie
61,013,998
false
null
package org.rust.lang.core.completion import com.intellij.testFramework.LightProjectDescriptor class RustStdlibCompletionTest: RustCompletionTestBase() { override val dataPath: String get() = "org/rust/lang/core/completion/fixtures/stdlib" override fun getProjectDescriptor(): LightProjectDescriptor = WithStd...
1
null
1
1
069cd1d05c3f567d32e40010c80a4a2dee7ecc83
397
intellij-rust
MIT License
mvvm-kotlin/ui/src/main/java/com/wasisto/githubuserfinder/android/ServiceLocator.kt
awasisto
147,341,351
false
null
package com.wasisto.githubuserfinder.android import com.wasisto.githubuserfinder.common.Logger import com.wasisto.githubuserfinder.domain.interfaces.GithubDataSource import com.wasisto.githubuserfinder.domain.interfaces.SearchHistoryDataSource import kotlinx.coroutines.CoroutineDispatcher import kotlin.reflect.KClass ...
0
Java
8
31
c76f9df77f1d5ab5421a6663af37014a22979a50
582
android-clean-architecture-samples
MIT License
mvvm-kotlin/ui/src/main/java/com/wasisto/githubuserfinder/android/ServiceLocator.kt
awasisto
147,341,351
false
null
package com.wasisto.githubuserfinder.android import com.wasisto.githubuserfinder.common.Logger import com.wasisto.githubuserfinder.domain.interfaces.GithubDataSource import com.wasisto.githubuserfinder.domain.interfaces.SearchHistoryDataSource import kotlinx.coroutines.CoroutineDispatcher import kotlin.reflect.KClass ...
0
Java
8
31
c76f9df77f1d5ab5421a6663af37014a22979a50
582
android-clean-architecture-samples
MIT License
domain/src/main/java/com/jesperqvarfordt/listn/domain/usecase/PlayUseCase.kt
JesperQv
122,033,035
false
null
package com.jesperqvarfordt.listn.domain.usecase import com.jesperqvarfordt.listn.domain.player.MusicPlayer import com.jesperqvarfordt.listn.domain.usecase.base.UseCase import io.reactivex.Completable import io.reactivex.Scheduler open class PlayUseCase(private val player: MusicPlayer, executio...
1
null
9
97
68b97f2d5437d1bab06df39b9eaf754d7941c520
570
Listn
MIT License
src/main/kotlin/com/dannbrown/astrosync/core/FileUtils.kt
danbrown
815,159,851
false
{"Kotlin": 20041, "Java": 822}
package com.dannbrown.astrosync.core import com.dannbrown.astrosync.AstroSyncMod import net.minecraft.client.Minecraft import org.apache.logging.log4j.Level import java.io.File import java.net.URL import java.nio.file.Path object FileUtils { val PATH: Path? = Minecraft.getInstance().gameDirectory.toPath() val MOD...
1
Kotlin
1
1
dc398f7caa7ab315dec3cda9e3b36297ed9a32c0
2,432
astro-sync
MIT License
30-add-another-fling-animation/final/app/src/main/java/com/raywenderlich/android/menagerie/ui/main/myPets/MyPetsFragment.kt
raywenderlich
302,147,373
false
null
package com.raywenderlich.android.menagerie.ui.main.myPets import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.app.ActivityOptionsCompat import androidx.core.util.Pair import androidx.fragment.app.Fragment import androidx.fragment.app....
0
Kotlin
12
8
893e3c135e706acf7307bdf310266b120bda2234
2,335
video-aa-materials
Apache License 2.0
platform/execution-impl/src/com/intellij/execution/multilaunch/design/popups/TableSelectorPopupController.kt
JetBrains
2,489,216
false
null
package com.intellij.execution.multilaunch.design.popups import com.intellij.execution.multilaunch.design.extensions.isOver import java.awt.Point import java.awt.event.MouseAdapter import java.awt.event.MouseEvent import javax.swing.JTable import javax.swing.SwingUtilities class TableSelectorPopupController : MouseAd...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,366
intellij-community
Apache License 2.0
src/main/kotlin/it/craftspire/gptassist/windows/GPTToolWindowFactory.kt
MateuszZozulinski
629,963,550
false
null
package it.craftspire.gptassist.windows import com.intellij.openapi.project.Project import com.intellij.openapi.ui.SimpleToolWindowPanel import com.intellij.openapi.wm.ToolWindow import com.intellij.openapi.wm.ToolWindowFactory import com.intellij.ui.content.ContentFactory import com.intellij.ui.scale.JBUIScale import...
0
Kotlin
0
1
f413263a9b49ec876c3f9489eb59f72068d3e560
2,190
CraftspireGPTAssist
MIT License
features/budget/src/main/java/com/anangkur/budgetku/budget/model/SpendUiModel.kt
anangkur
270,303,728
false
null
package com.anangkur.budgetku.budget.model data class SpendUiModel( val image: String, val title: String, val date: String, val spend: Int, val idProject: String, val idCategory: String, val note: String )
10
null
0
3
82dc439d0df25cc894de5fc8d2604f1670c6cf31
234
Budget-Ku
MIT License
android/app/src/main/java/dev/fredag/cheerwithme/FetchStatus.kt
fredagsdeploy
191,515,654
false
null
package dev.fredag.cheerwithme sealed class FetchStatus { object Default : FetchStatus() object Loading : FetchStatus() class Error(val message: String) : FetchStatus() }
15
Kotlin
0
0
dfba80fe28fa457cf69919639c80d4d4822a7813
183
cheer-with-me
MIT License
eonad/src/main/java/com/ogzkesk/eonad/billing/listener/PurchaseHistoryListener.kt
ogzkesk
662,622,602
false
{"Kotlin": 114827}
package com.ogzkesk.eonad.billing.listener import com.ogzkesk.eonad.billing.IapResult import com.ogzkesk.eonad.billing.PurchaseHistory fun interface PurchaseHistoryListener { fun onCheckPurchaseHistory(result: IapResult, history: List<PurchaseHistory>) }
0
Kotlin
1
6
45047cd6c9fa96ac91195abac8257b6d3499c140
263
EonAd-Admob-playBilling
Apache License 2.0
threejs_kt/src/main/kotlin/three/LightShadow.module_three.kt
liorgonnen
263,430,804
false
null
@file:JsModule("three") @file:JsNonModule @file:Suppress("ABSTRACT_MEMBER_NOT_IMPLEMENTED", "VAR_TYPE_MISMATCH_ON_OVERRIDE", "INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION", "PackageDirectoryMismatch") package three.js import ko...
0
null
2
9
1ad5a293267010d3848310983b25007bdb93e08d
1,077
kotlin-three-js-starter
MIT License
include-build/roborazzi-core/src/commonMain/kotlin/com/github/takahirom/roborazzi/getReportFileName.kt
takahirom
594,307,070
false
{"Kotlin": 440745, "HTML": 2244, "CSS": 408}
package com.github.takahirom.roborazzi fun getReportFileName( absolutePath: String?, timestampNs: Long, nameWithoutExtension: String ) = "$absolutePath/${timestampNs}_$nameWithoutExtension.json"
83
Kotlin
34
712
0f528a13d085a8d2e3d218639f986fbbc21ce400
201
roborazzi
Apache License 2.0
engine-core/src/main/kotlin/gabek/engine/core/physics/RFixture.kt
gabe00122
77,073,648
false
{"Gradle": 5, "INI": 1, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 3, "Markdown": 1, "Java": 30, "Kotlin": 197, "Java Properties": 1, "JSON": 4}
package gabek.engine.core.physics import com.badlogic.gdx.physics.box2d.Body import com.badlogic.gdx.physics.box2d.Filter import com.badlogic.gdx.physics.box2d.Fixture import com.badlogic.gdx.physics.box2d.FixtureDef import gabek.engine.core.physics.shape.RShape /** * @author <NAME> */ class RFixture { @Transie...
0
Kotlin
0
0
6b76a69cca2baa43b743c7a30822cf4f532a67c6
3,487
GameEngine
MIT License
app/src/main/java/com/gvkorea/gvs1000_dsp/fragment/settings/view/setid/listener/SetIdButtonListener.kt
NewTurn2017
259,878,873
false
{"Gradle": 3, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Java Properties": 1, "JSON": 1, "Proguard": 1, "Kotlin": 109, "XML": 66, "Java": 5, "Python": 2}
package com.gvkorea.gvs1000_dsp.fragment.settings.view.setid.listener import android.view.View import com.gvkorea.gvs1000_dsp.R import com.gvkorea.gvs1000_dsp.fragment.settings.view.setid.presenter.SetIdPresenter import kotlinx.android.synthetic.main.fragment_setid.* class SetIdButtonListener(val presenter: SetIdPres...
0
Kotlin
0
0
e67c990ac4bebc188dc556350d196c7ac3c95be6
774
GVS1000_DSP
MIT License
composeApp/src/commonMain/kotlin/utils/UIExtension.kt
piashcse
509,820,279
false
{"Kotlin": 132895, "Swift": 594, "HTML": 335, "CSS": 102}
package utils import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.windowsizeclass.ExperimentalMaterial3WindowSizeClassApi import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass import androidx.compose.material3.windowsizeclass.calculateWindowSizeClass import an...
0
Kotlin
16
180
6b4a4a7bb8d0c26631e2e7e65da1ea9abe921c01
1,343
kmp-movie
Apache License 2.0
app/src/main/kotlin/app/view/screens/HomeScreen.kt
spbu-coding-2022
617,202,886
false
null
package app.view.screens import androidx.compose.foundation.layout.* import androidx.compose.material.Text import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp import app.view.assets.* import app.view.utils.Databases @Composable ...
1
Kotlin
1
4
78d27e0e2e41bb62616cf84bc47d5e932cde7bff
1,712
trees-6
Apache License 2.0
app/src/main/kotlin/com/morcinek/xpense/common/utils/SharedPreferencesUtils.kt
tmorcinek
49,250,437
false
null
package com.morcinek.xpense.common.utils import android.content.SharedPreferences /** * Copyright 2016 <NAME>. All rights reserved. */ fun SharedPreferences.putBoolean(preferenceKey: String, preferenceValue: Boolean) { edit().putBoolean(preferenceKey, preferenceValue).apply(); } fun SharedPreferences.putLong(...
10
null
3
6
1de5436380c86958d14eacca4955ec40ac70c210
610
xpense
Apache License 2.0
src/main/java/io/userfeeds/cryptocache/cryptoverse/club/newest/ClubFeedController.kt
CryptoverseCC
136,720,594
false
{"Kotlin": 64469, "Dockerfile": 225}
package io.userfeeds.cryptocache.cryptoverse.club.newest import io.userfeeds.cryptocache.cryptoverse.main.common.Page import io.userfeeds.cryptocache.cryptoverse.club.common.Controller import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RequestParam import org.s...
0
Kotlin
0
0
12b9465009f05441d8f5c63d29670a585194fca7
888
crypto-cache
The Unlicense
app/src/main/java/de/tolunla/icarus/view/ThreadFragment.kt
ogtega
450,000,442
false
{"Kotlin": 36068}
package de.tolunla.icarus.view import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.GridLayout import android.widget.ImageView import androidx.fragment.app.Fragment import coil.ImageLoader import coil.load import coil.request.ImageRequ...
2
Kotlin
0
0
110f79f240b9f53d5c223417c0aa66886167833c
2,939
icarus
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/submission/viewmodel/SubmissionContactViewModel.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.ui.submission.viewmodel import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import de.rki.coronawarnapp.util.ui.SingleLiveEvent import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.SimpleCWAViewModelFactory class Submi...
6
Kotlin
8
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
806
cwa-app-android
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/submission/viewmodel/SubmissionContactViewModel.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.ui.submission.viewmodel import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import de.rki.coronawarnapp.util.ui.SingleLiveEvent import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.SimpleCWAViewModelFactory class Submi...
6
Kotlin
8
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
806
cwa-app-android
Apache License 2.0
app/src/main/java/speedev/android/recyclerviewinfinitescroll/home/HomeRecyclerViewAdapter.kt
SunryTeang
117,915,841
true
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 31, "Kotlin": 16}
package speedev.android.recyclerviewinfinitescroll.home import android.content.Context import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.squareup.picasso.Picasso import ...
0
Kotlin
0
1
f466954b866a65fc19497e62c7a3ee5578e0ea02
2,733
Android-RecyclerView-Infinitescroll
Apache License 2.0
annotation-processor/test-cases/1/output-expected/json/classes/ObjectJsonCodec.kt
fluidsonic
105,949,984
false
null
package json.classes import codecProvider.CustomCodingContext import io.fluidsonic.json.AbstractJsonEncoderCodec import io.fluidsonic.json.JsonEncoder import io.fluidsonic.json.writeBooleanOrNull import io.fluidsonic.json.writeByteOrNull import io.fluidsonic.json.writeCharOrNull import io.fluidsonic.json.writeDoubleOr...
9
null
6
29
f71b7aa99df3cbb5dba194b8ee071490150b2277
938
fluid-json
Apache License 2.0
app/src/main/java/com/inz/z/note_book/view/dialog/LockScreenDialogFragment.kt
Memory-Z
234,554,362
false
null
package com.inz.z.note_book.view.dialog import android.app.Activity import android.graphics.Point import android.os.Bundle import android.view.Gravity import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.DialogFragment import com.inz.z.base.view.AbsBaseDialogFragment import com.inz.z.note_book....
1
null
1
1
387a68ede15df55eb95477515452f415fdd23e19
2,660
NoteBook
Apache License 2.0
idea/testData/wordSelection/LineComment/1.kt
JakeWharton
99,388,807
false
null
package p class C{ // This is a <selection><caret>val</selection> val v = 1 fun foo(){} }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
104
kotlin
Apache License 2.0
server-api/src/main/kotlin/io/github/oleksivio/tl/kbot/server/api/objects/inline/queryresult/InlineQueryResultCachedGif.kt
oleksivio
145,889,451
false
null
package io.github.oleksivio.tl.kbot.server.api.objects.inline.queryresult import com.fasterxml.jackson.annotation.JsonProperty /** * [InlineQueryResultCachedGif](https://core.telegram.org/bots/api/#inlinequeryresultcachedgif) */ class InlineQueryResultCachedGif( /** * gif_file_id String A valid file ident...
0
null
0
5
d38b5be33c5217a3f91e44394995f112fd6b0ab9
548
tl-kbot
Apache License 2.0
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/mpp/resources/publication/KotlinTargetVariantResourcesPublication.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.gradle.plugin.mpp.resources.publication import org.gradle.api.file.DuplicatesStr...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
3,592
kotlin
Apache License 2.0
signinwithapplebutton/src/main/java/com/willowtreeapps/signinwithapplebutton/SignInWithAppleConfiguration.kt
RickyTB
302,187,466
true
{"Kotlin": 23268}
package com.willowtreeapps.signinwithapplebutton data class SignInWithAppleConfiguration( val clientId: String, val redirectUri: String, val scope: String, val verifyState: Boolean ) { class Builder { // Client ID private lateinit var clientId: String // Redirect URL string...
0
Kotlin
0
0
ee2211850b474646455df80c8949c540d9d06663
1,144
sign-in-with-apple-button-android
MIT License
clients/kotlin-server/generated/src/main/kotlin/org/openapitools/server/apis/ModerationsApi.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
/** * OpenAI API * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details. * * The version of the OpenAPI document: 2.0.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
4,287
openapi-openai
MIT License
compiler/testData/diagnostics/tests/j+k/privateNestedClassStaticMember.fir.kt
android
263,405,600
false
null
// KT-4149 static members of Java private nested class are accessible from Kotlin // FILE: javaPackage/Foo.java package javaPackage; public class Foo { private static class Bar { public static void doSmth() { } } } // FILE: 1.kt fun main() { javaPackage.Foo.Bar.doSmth() }
0
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
305
kotlin
Apache License 2.0
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/util/Events.kt
Hexworks
94,116,947
false
{"Kotlin": 1614685, "Shell": 64}
package org.hexworks.zircon.api.util import org.hexworks.zircon.api.uievent.KeyCode import org.hexworks.zircon.api.uievent.KeyboardEvent import org.hexworks.zircon.api.uievent.KeyboardEventType fun KeyboardEvent.isNavigationKey() = this == NAV_NEXT || this == NAV_PREV val NAV_NEXT = KeyboardEvent( type = Ke...
42
Kotlin
138
738
55a0ccc19a3f1b80aecd5f1fbe859db94ba9c0c6
527
zircon
Apache License 2.0
android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/battery/BatteryPackage.kt
expo
65,750,241
false
null
package abi49_0_0.expo.modules.battery import android.content.Context import abi49_0_0.expo.modules.core.BasePackage import abi49_0_0.expo.modules.core.ExportedModule class BatteryPackage : BasePackage() { override fun createExportedModules(context: Context): List<ExportedModule> { return listOf(BatteryModule(c...
627
null
4443
25,078
846b9d2e77b069744479f31777ff3ea059990055
335
expo
MIT License
app/src/main/java/com/kamaltatyana/redgallery/view/search/SearchViewModel.kt
TatyanaBazhanova
132,364,766
false
null
package com.kamaltatyana.redgallery.view.search import androidx.lifecycle.* import com.kamaltatyana.redgallery.repository.ImageRepository import com.kamaltatyana.redgallery.util.AbsentLiveData import com.kamaltatyana.redgallery.vo.Image import com.kamaltatyana.redgallery.vo.ListImage import com.kamaltatyana.redgallery...
0
Kotlin
0
0
da68677527fd797b73ce4c479da1a7b260510900
4,101
GalleryApp
Apache License 2.0
room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureInsertMethodBinder.kt
yuboxiao
157,709,188
false
null
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
null
1
1
c570c1705f25e90782f0c611a0b72c8b5c6d6e35
3,500
platform_frameworks_support
Apache License 2.0
app/src/main/java/com/nickming/kotlinlearning/util/LogUtil.kt
nickming
94,009,580
false
null
package com.nickming.kotlinlearning.util import android.util.Log /** * class description here * @author nickming * @version 1.0.0 * @since 2017-06-11 下午5:54 * Copyright (c) 2017 nickming All right reserved. */ class LogUtil { companion object { const val VERBOSE = 1 const val DEBUG = 2 ...
0
Kotlin
0
4
c5cbac38ebebd6e67094314346d515b567a90c45
1,055
KotlinWeather
MIT License
bukkit/rpk-players-bukkit/src/main/kotlin/com/rpkit/players/bukkit/messages/PlayersMessages.kt
RP-Kit
54,840,905
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 writi...
52
null
9
13
caaf242ba8a2801a55826d08a9d1be6ac14232ab
5,401
RPKit
Apache License 2.0
app/src/main/java/com/github/masdaster/edma/network/ServerStatusNetwork.kt
masdaster
613,938,698
true
{"INI": 1, "Gradle": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "YAML": 1, "Java Properties": 1, "Proguard": 1, "XML": 71, "Kotlin": 94, "Java": 66}
package com.github.masdaster.edma.network import android.content.Context import com.github.masdaster.edma.models.ProxyResult import com.github.masdaster.edma.models.ServerStatus import com.github.masdaster.edma.singletons.RetrofitSingleton object ServerStatusNetwork { suspend fun getStatus(ctx: Context): ProxyRe...
0
Java
0
0
574e6aacbc0034d54cd4fb2a4c38709dba7d5dbd
719
EDMA
MIT License
example/src/main/kotlin/berlin/volders/rxdownload/example/ImageFragment.kt
rysq008
98,079,388
false
{"Java Properties": 1, "Markdown": 1, "Kotlin": 8, "Java": 10}
/* * Copyright (C) 2017 volders GmbH with <3 in Berlin * * 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 appl...
1
null
1
1
923dbc0a032fabbed50ae92596445c65108278f3
1,705
RxDownloadManager
Apache License 2.0
S06.01-Exercise-LaunchSettingsActivity/app/src/main/java/com/example/android/sunshine/SettingsActivity.kt
Stropek
103,776,964
true
{"Python": 1, "Text": 134, "Markdown": 1, "Gradle": 198, "Java Properties": 94, "Shell": 66, "Ignore List": 132, "Batchfile": 66, "XML": 1287, "Kotlin": 52, "Java": 978, "JSON": 1}
package com.example.android.sunshine import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.MenuItem class SettingsActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layou...
0
Java
0
0
e843bc3db10a2e8c37c11f1a45d1419dd7de320f
616
ud851-Sunshine
Apache License 2.0
yama-raft/src/test/java/com/song/yama/raft/StateMachine.kt
aCoder2013
161,024,583
false
null
/* * Copyright 2018 acoder2013 * * 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 ...
1
Kotlin
1
1
fde639d37d2be7fde6cdc8ad845135966e9d335b
2,678
yama
Apache License 2.0
client/src/main/java/me/ftvkyo/fuzzy_broccoli/client/graphics/primitives/VertexSimple.kt
ftvkyo
204,035,409
false
{"Maven POM": 4, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java": 3, "Kotlin": 26, "GLSL": 3}
package me.ftvkyo.fuzzy_broccoli.client.graphics.primitives import org.joml.Vector3f import org.joml.Vector4f import java.nio.FloatBuffer /** * Simple three-dimensional vertex. */ open class VertexSimple { private var position: Vector4f? = null constructor(x: Float, y: Float, z: Float) { posit...
1
null
1
1
469743cf1ab40dd983e83f3e78cf364b632420f5
940
fuzzy-broccoli
MIT License
educational-core/src/com/jetbrains/edu/learning/twitter/TwitterPluginConfigurator.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.learning.twitter import com.intellij.openapi.Disposable import com.intellij.openapi.extensions.ExtensionPointName import com.intellij.openapi.project.Project import com.jetbrains.edu.learning.courseFormat.CheckStatus import com.jetbrains.edu.learning.courseFormat.tasks.Task import com.jetbrai...
7
null
47
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
1,275
educational-plugin
Apache License 2.0
idea/testData/quickfix/migration/decapitalizedAnnotation/valueParameter.kt
culvert
42,346,712
false
{"Markdown": 34, "XML": 694, "Ant Build System": 44, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 19994, "Groovy": 23, "Java": 4435, "Shell": 11, "Batchfile": 10, "Java Properties": 11, "Gradle": 74, "HTML": 144, "INI": 7, "CSS": 2, "JavaScript": 63, "Text": 4403, "ANTLR": 1, "Protocol Buffer": 7, ...
// "Replace with 'kotlin.Deprecated'" "true" fun foo(x: kotlin.deprecated<caret>) {}
1
null
1
1
69038ba6c09a4427ace5158fd434e27f1672d3f0
86
kotlin
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/personrecord/validate/PNCIdentifier.kt
ministryofjustice
608,040,205
false
{"Kotlin": 221432, "Shell": 2601, "Mustache": 1669, "Dockerfile": 1145, "PLpgSQL": 474}
package uk.gov.justice.digital.hmpps.personrecord.validate import java.time.LocalDate const val LONG_PNC_ID_LENGTH = 10 interface PNCIdentifier { val pncId: String companion object { fun from(inputPncId: String? = ""): PNCIdentifier { if (inputPncId.isNullOrEmpty()) { return MissingPNCIdentifi...
4
Kotlin
1
1
fb42e69c5adcb28de072059848b82949be2a09fe
3,625
hmpps-person-record
MIT License
app/src/main/java/com/projectseoul/stockmarkettest/models/ECommodity.kt
kingjinho
411,890,525
false
null
package com.projectseoul.stockmarkettest.models /** * Created by <NAME> on 9/16/2021 */ enum class ECommodity { WHEAT, CORN, SOY_BEAN, SUGAR, COTTON, COFFEE, WTI, BRENT, DUBAI, GOLD, SILVER, NOT_APPLICABLE }
0
Kotlin
0
0
12b0242968a159f662d9def75b9c9dfc913fefd7
230
burst-out-your-greed
Apache License 2.0
android/core/src/main/java/app/visly/shard/viewimpl/TextViewImpl.kt
0xflotus
166,134,696
false
null
/** * Copyright (c) Visly Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package app.visly.shard.viewimpl import android.graphics.Color import android.graphics.Typeface import android.text.* import android.util.TypedValue impo...
0
Kotlin
1
0
b6928831f5f8112284078ab284d19b1e4d35aa71
5,026
shard-mobile
MIT License
android/core/src/main/java/app/visly/shard/viewimpl/TextViewImpl.kt
0xflotus
166,134,696
false
null
/** * Copyright (c) Visly Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package app.visly.shard.viewimpl import android.graphics.Color import android.graphics.Typeface import android.text.* import android.util.TypedValue impo...
0
Kotlin
1
0
b6928831f5f8112284078ab284d19b1e4d35aa71
5,026
shard-mobile
MIT License
src/main/java/tornadofx/EventBus.kt
mattmoore
158,873,979
true
{"Kotlin": 1080348, "CSS": 4603, "Java": 2821}
@file:Suppress("UNCHECKED_CAST") package tornadofx import javafx.application.Platform import tornadofx.EventBus.RunOn.ApplicationThread import java.util.* import java.util.concurrent.atomic.AtomicLong import java.util.logging.Level import kotlin.concurrent.thread import kotlin.reflect.KClass open class FXEvent( ...
0
Kotlin
0
0
bbb5066b5375a70dc1810f8247741bc7f3f58bc0
5,328
tornadofx
Apache License 2.0
src/commonMain/kotlin/org.angproj.aux/buf/PushPipe.kt
angelos-project
677,039,667
false
{"Kotlin": 539814}
/** * Copyright (c) 2024 by <NAME> <<EMAIL>>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org/licenses/MIT * * SPDX-License-Iden...
0
Kotlin
0
0
7e5dbd393352726c0ed656c0c721653ba1cac921
663
angelos-project-aux
MIT License
app/src/main/java/com/osano/privacymonitor/ScoreActivity.kt
osano
172,582,875
false
null
package com.osano.privacymonitor import android.os.Bundle import android.content.Intent import android.view.View import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import androidx.core.widget.ImageViewCompat import com.osano.privacymonitor.networking....
2
Kotlin
1
4
5da3a0cb0ed04daf80548eef777cac93ee64f7e8
3,092
privacymonitor-android
MIT License
src/main/kotlin/org/artempopov/client/gui/ChoseAddressFrame.kt
ArtemPopof
135,083,699
false
null
package org.artempopov.client.gui import org.artempopov.client.controller.ControllerFactory import org.artempopov.client.controller.DefaultController import javax.swing.* private const val TITLE = "Set server address" private const val WINDOW_WIDTH = 500 private const val WINDOW_HEIGHT = 500 /** * Frame for choosi...
2
null
1
1
2f57454c432ff611a29de9ffcae54431467ffc0e
1,594
AlphaServer
MIT License
lib/src/main/kotlin/tsl/nodes/RBNode.kt
spbu-coding-2023
771,651,556
false
{"Kotlin": 86454}
package tsl.nodes class RBNode<K : Comparable<K>, V>(key: K, value: V) : AbstractNode<K, V, RBNode<K, V>>(key, value) { internal var parent: RBNode<K, V>? = null enum class Color { Black, Red, } internal var color = Color.Red }
1
Kotlin
0
5
2be5227a314a623e2f67895ecded3e55d61f5a61
267
trees-2
MIT License
kafka/arena-acl-ingestor/src/test/kotlin/no/nav/amt/tiltak/ingestors/arena_acl_ingestor/IntegrationTest.kt
navikt
393,356,849
false
null
package no.nav.amt.tiltak.ingestors.arena_acl_ingestor import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import io.mockk.every import io.mockk.mockk import no.nav.amt.tiltak.arrangor.ArrangorRepository import no.nav.amt.tiltak.arrangor.ArrangorServiceImpl import no.nav.amt.tiltak.clients.amt_enh...
4
null
2
3
fd7fda363d9aeb793b269a5fdd6072a93e904c96
12,212
amt-tiltak
MIT License
mpv-view/src/main/java/io/viper/android/mpv/dialog/IPickerDialog.kt
mylhyz
772,417,718
false
{"Kotlin": 130472, "C++": 18449, "CMake": 1932, "C": 1327, "Java": 63}
package io.viper.android.mpv.dialog import android.view.LayoutInflater import android.view.View interface IPickerDialog { var number: Double? fun buildView(layoutInflater: LayoutInflater): View fun isInteger(): Boolean // eh.... }
0
Kotlin
1
0
765390776cf8c1388b535439217378a3df6b8e71
247
viper-mpv-android
MIT License
app/src/main/java/id/krafterstudio/androidarch/interactor/GetNotesSync.kt
sjarifHD
161,516,916
false
null
package id.krafterstudio.androidarch.interactor import javax.inject.Inject import javax.inject.Singleton /** * Created by sjarifhd on 12/12/18. * Innovation, eFishery */ @Singleton class GetNotesSync @Inject constructor() { fun execute() { GetNotesJob.schedule() } }
0
Kotlin
0
1
cb3942140b978cdcd28fd15edbcbc5c70e2872ba
288
AndroidArch
The Unlicense
web/darwin-core/src/commonMain/kotlin/layouts/defaults/EditTextDefault.kt
touchlab-lab
374,091,587
true
{"Kotlin": 641058, "Dockerfile": 5716, "Shell": 5673, "HTML": 2801, "Ruby": 2256, "PowerShell": 1708, "Groovy": 1415, "Swift": 1078, "CSS": 1022, "JavaScript": 203}
package org.jetbrains.compose.common.material import androidx.compose.runtime.Composable import org.jetbrains.compose.common.ui.Modifier import org.jetbrains.compose.common.core.graphics.Color import org.jetbrains.compose.common.ui.unit.TextUnit @Composable fun EditText( text: String, onValueChange: (String) ...
0
Kotlin
1
0
918e74f9758a9e22a56afaa835ff9c7baa132980
517
compose-jb
Apache License 2.0
core/gamedex-core-maintenance/src/main/kotlin/com/gitlab/ykrasik/gamedex/core/maintenance/presenter/ShowImportDatabasePresenter.kt
ykrasik
177,211,746
false
null
/**************************************************************************** * Copyright (C) 2016-2023 <NAME> * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not u...
0
null
1
14
6c63cb16032f9c9e230afc808bb8498760477464
2,061
gamedex
Apache License 2.0
src/Assignment/Week3_predicates.kt
adb-shell
166,076,678
false
{"Kotlin": 22684}
package Assignment fun List<Int>.allNonZero() = all { it->it>0 } fun List<Int>.allNonZero1() = none { it->it<=0 } fun List<Int>.allNonZero2() = any { allNonZero1() } fun List<Int>.containsZero() = any { it->it==0 } fun List<Int>.containsZero1() = all { containsZero() } fun List<Int>.containsZero2() = none { all...
0
Kotlin
0
1
c461cb86ee5fe917d846b582f7516f7d5b9169c7
948
KotlinLearnings
Apache License 2.0
app/src/main/java/it/polito/timebanking/viewmodels/OfferViewModel.kt
tndevelop
586,483,147
false
null
package it.polito.timebanking.viewmodels import android.util.Log import androidx.lifecycle.* import it.polito.timebanking.database.AdvertisementDemo import it.polito.timebanking.database.User import it.polito.timebanking.entities.Offer import it.polito.timebanking.entities.OfferStatus import it.polito.timebanking.fire...
0
Kotlin
1
1
edb734d5bf2aa391e7012d45447a8ba4bf5489e4
6,260
Android-Timebanking
MIT License
app/src/main/java/com/example/daro/carritocompras/DetallesEntrenadorClienteActivity.kt
daros10
141,076,589
false
{"Kotlin": 69071}
package com.example.dann.tiendapokemon import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v7.widget.DefaultItemAnimator import android.support.v7.widget.LinearLayoutManager import android.util.Log import kotlinx.android.synthetic.main.activity_detalles_entrenador.* class D...
0
Kotlin
0
0
7d7462bacd90f8ffece19511c49affca474f0f89
1,877
Examen_Moviles_2B_DA
MIT License
app/src/main/java/com/dima/ticketholder/App.kt
EpicDima
267,852,158
false
null
package com.dima.ticketholder import android.app.Application import android.content.SharedPreferences import com.dima.ticketholder.di.DaggerAppComponent import com.dima.ticketholder.utils.setDayNightModeFromPreferences import dagger.android.AndroidInjector import dagger.android.DispatchingAndroidInjector import dagger...
0
Kotlin
1
1
38cfa25da0a5df63ac45996ec3928ddfbe594129
868
TicketHolder
Apache License 2.0
cieloecommerceoauth/src/main/java/br/com/braspag/cieloecommerceoauth/network/CredentialsClient.kt
DeveloperCielo
241,367,226
false
null
package br.com.braspag.cieloecommerceoauth.network import br.com.braspag.cieloecommerceoauth.model.AccessToken interface CredentialsClient { fun getOAuthCredentials( onSuccessCallback: (model: AccessToken) -> Unit, onError: (error: String) -> Unit ) }
0
Kotlin
1
1
3417cabca8f0e1a4cde90e0d3a27452399a55862
277
cielo-ecommerce-oauth-android
MIT License
project/skyway_android_sdk/regressiontest/src/main/java/com/example/regressiontest/task/SFURoomTaskBase.kt
skyway
594,002,280
false
null
package com.example.regressiontest.task import com.example.regressiontest.util.Util import com.ntt.skyway.room.RoomPublication import com.ntt.skyway.room.RoomSubscription import com.ntt.skyway.room.member.LocalRoomMember import com.ntt.skyway.room.member.RoomMember import com.ntt.skyway.room.sfu.SFURoom import kotlinx...
0
null
0
4
4d54ed11c0b45f9aab00a3bcf2e14b43118b1b15
1,786
android-sdk
MIT License
src/test/kotlin/design/cardia/ktxml/model/ElementTest.kt
Spanner41
364,393,137
false
null
package design.cardia.ktxml.model import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEqualTo import org.junit.jupiter.api.Test internal class ElementTest { private val subject = Element("test") @Test fun `adds a node`() { val node = Comment("this is a comment...
5
Kotlin
0
2
de5ad3cb21997ac3bc8e4e1ec9b8b4a8c67a8263
803
kt-xml
MIT License
src/main/kotlin/org/monsim/api/util/RandomDiceUtil.kt
jimdmorgan
310,986,865
false
null
package org.monsim.api.util import org.monsim.bean.DiceRoll import org.monsim.bean.domain.Game interface RandomDiceUtil { fun randomRoll(seed: Long, number: Long): DiceRoll }
1
null
1
1
0c97854234c874a6e5fa4b649ec0ca7719d77c21
184
monsim
MIT License
thirdparty/jfoenix-listeners/src/main/kotlin/ktfx/jfoenix/listeners/_JFXDialog.kt
hendraanggrian
102,934,147
false
{"Kotlin": 1147480}
@file:JvmMultifileClass @file:JvmName("JfoenixListenersKt") @file:Suppress( "ktlint", "NOTHING_TO_INLINE", ) package ktfx.jfoenix.listeners import com.jfoenix.controls.JFXDialog import com.jfoenix.controls.events.JFXDialogEvent import kotlin.Suppress import kotlin.Unit import kotlin.jvm.JvmMultifileClass impo...
1
Kotlin
2
16
00490172fbdc509203cecdd9f8271bf84cf62113
688
ktfx
Apache License 2.0
engine/game/src/main/kotlin/org/rsmod/game/ui/ComponentEvents.kt
rsmod
293,875,986
false
{"Kotlin": 1817705}
package org.rsmod.game.ui public data class ComponentEvents(public val children: IntRange, public val events: Int)
0
Kotlin
64
95
3ba446ed70bcde0870ef431e1a8527efc6837d6c
116
rsmod
ISC License
androidApp/src/main/java/com/jetbrains/kmm/androidApp/profile/ProfileActivity.kt
MarcFelip
606,124,769
false
null
package com.jetbrains.kmm.androidApp.profile import android.app.Activity import android.app.Dialog import android.content.Intent import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.prov...
0
Kotlin
1
0
9233c9323458be7b267e417c96eac4ec16e08fee
6,112
TFM-MarcFelip
Apache License 2.0
src/main/kotlin/com/workos/fga/models/Resources.kt
workos
419,780,611
false
{"Kotlin": 501454}
package com.workos.fga.models import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.workos.common.models.ListMetadata /** * A list of WorkOS [Resource]s * * @param data A list of [Resource]s. * @param listMetadata [com.workos.common.models.ListMetadata...
2
Kotlin
7
12
69c43561c5e432fb5e61ab072429783c36fef7d3
495
workos-kotlin
MIT License
nativelogger/src/main/java/cn/jesse/nativelogger/logger/base/IFileLogger.kt
284919275IOS
499,047,712
true
{"Java": 685158, "Kotlin": 112011}
package cn.jesse.nativelogger.logger.base import java.util.logging.Formatter /** * 文件日志管理器接口 * * @author Jesse */ interface IFileLogger { /** * 设置文件路径, 日志格式工具, 和日志保留时间 * * @param directory 路径 * @param formatter 日志格式化工具 * @param expiredPeriod 日志过期时间, 单位为天 */ fun setFilePathAn...
0
null
0
0
4e0b4da53b87c6afa0c4787357b75ac1edd76a22
763
XDroidMvp-AndroidX
MIT License
app/test/oppslag/routes/SafTest.kt
navikt
733,062,244
false
{"Kotlin": 81871, "Dockerfile": 248}
package oppslag.routes import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import io.ktor.client.call.* import io.ktor.client.plugins.contentnegotiation.* import io.ktor.client.request.* import io.ktor.http.* import io.ktor.serialization.jackson.* impo...
1
Kotlin
0
0
c8eeed394f7df8b6e0d40b52f2d7a759af2b5d87
2,563
aap-oppslag
MIT License
app/src/main/java/com/covilights/utils/StateManager.kt
covilights
252,578,406
false
null
/* * Copyright 2020 CoviLights GbR * * 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 ...
6
Kotlin
1
5
f3f7d207c0d8f0ca9c11d1ab38db45b6b48bb1c7
876
AndroidCoviLights
Apache License 2.0
app/src/main/java/io/coroutines/cache/MainActivity.kt
diefferson
156,723,832
false
null
package io.coroutines.cache import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import io.coroutines.cache.core.CachePolicy import io.coroutines.cache.core.CoroutinesCache import kotlinx.android.synthetic.main.activity_main.* import kotlinx.coroutines.* import kotlin....
1
null
5
58
46d0937535e4cb7eda79c9425481c6b1bed58d82
1,236
CoroutinesCache
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/lineduotone/naturetravel/FireSquare.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.linear.naturetravel import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Compa...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
2,922
SolarIconSetAndroid
MIT License
runtime/src/test/java/com/chrisjenx/multitrack/InMemoryDriverTest.kt
chrisjenx
212,449,170
false
null
package com.chrisjenx.multitrack class InMemoryDriverTest : BaseDriverTest() { override fun createDriver(): MultiTrack.Driver { return InMemoryDriver() } }
0
Kotlin
0
13
1684d7c4ca46230317073dc528279663973c0a86
174
MultiTrack
Apache License 2.0
ui/src/main/kotlin/com/aptopayments/sdk/repository/CardActionRepository.kt
AptoPayments
197,800,853
false
null
package com.aptopayments.sdk.repository import com.aptopayments.sdk.utils.LiveEvent import com.aptopayments.sdk.utils.Timer private const val DETAILS_EXPIRATION_THRESHOLD_SECONDS = 180L private const val DETAILS_EXPIRATION_THRESHOLD_MILLI = DETAILS_EXPIRATION_THRESHOLD_SECONDS * 1000 internal interface CardActionRep...
1
Kotlin
0
0
257af71aa439b3e90c150ae258c78eaa1a6ae817
1,577
apto-ui-sdk-android
MIT License
src/main/kotlin/com/blr19c/falowp/bot/system/expand/Base64.kt
falowp-bot
736,172,318
false
null
package com.blr19c.falowp.bot.system.expand import java.awt.image.BufferedImage import java.io.ByteArrayInputStream import java.util.* import javax.imageio.ImageIO fun ByteArray.encodeToBase64String(): String = Base64.getEncoder().encodeToString(this) fun String.decodeFromBase64String(): ByteArray = Base64.getDecode...
0
null
0
6
a2eef9ec7b6f7a51f260b64de548fe291b89266c
455
falowp-bot-system
Apache License 2.0
ktx-core/src/main/kotlin/ru/astrainteractive/astralibs/encoding/IO.kt
Astra-Interactive
422,588,271
false
{"Kotlin": 106715}
package ru.astrainteractive.astralibs.encoding /** * Wrapper for IO classes to handle [Encoder] more safely */ sealed interface IO { @JvmInline value class Base64(val value: String) : IO @JvmInline value class ByteArray(val value: kotlin.ByteArray) : IO }
0
Kotlin
0
2
edf18911e3b12c84975c8287e4f3eecba9396d04
276
AstraLibs
MIT License
src/main/kotlin/eZmaxApi/models/EzsignfoldersignerassociationResponseCompoundAllOf.kt
eZmaxinc
271,950,932
false
null
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import eZmaxApi.models....
0
Kotlin
0
0
885d51ce1f6a5ae02b253e68422693923f1e4e5e
856
eZmax-SDK-kotlin
MIT License
vet-service/src/test/kotlin/tech/aaregall/lab/petclinic/vet/application/usecase/CountAllSpecialitiesUseCaseTest.kt
ArnauAregall
720,654,012
false
{"Kotlin": 330999}
package tech.aaregall.lab.petclinic.vet.application.usecase import io.mockk.every import io.mockk.impl.annotations.InjectMockKs import io.mockk.impl.annotations.MockK import io.mockk.junit5.MockKExtension import io.mockk.verify import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Nested impor...
0
Kotlin
0
1
aedb6115f44c8c1bc0afed4bf9f8f852d3b8c64a
1,274
micronaut-kotlin-petclinic-clean-architecture
Apache License 2.0
app/src/main/java/com/goda/marvel/common/ViewExtensions.kt
gehadfatah
228,142,732
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 48, "XML": 50, "Java": 4}
package com.goda.marvel.common import android.graphics.Color import android.text.Editable import android.text.TextUtils import android.text.TextWatcher import android.view.View import android.widget.EditText import android.widget.ImageView import androidx.annotation.DrawableRes import androidx.core.content.ContextComp...
0
Kotlin
0
0
b4a9593a5ec3dd100c815657c52a34b044ca3358
2,605
MarvelGodaApp
Apache License 2.0
light-transpiler/light-transpiler-kotlin/src/jvmTest/kotlin/main.kt
folding-lang
512,441,839
false
{"Kotlin": 656395}
import com.strumenta.kotlinmultiplatform.BitSet import foldingx.lighttranspiler.kotlin.DefaultLightTranspilerKt import foldingx.lighttranspiler.kotlin.LightClassTranspilerKt import foldingx.lighttranspiler.kotlin.LightTranspilerKt import foldingx.parser.FoldingLexer import foldingx.parser.FoldingParser import org.antlr...
4
Kotlin
0
7
63ae3f3bff8d64ae4b06abaefc12e66dfed759ac
1,562
folding
MIT License
frontend/src/main/kotlin/ui/components/util/LoadingData.kt
xtexChooser
513,449,471
false
{"Kotlin": 67393, "HTML": 1083, "JavaScript": 445}
package argoner.frontend.web.ui.components.util import androidx.compose.runtime.* import kotlinx.coroutines.delay import org.jetbrains.compose.web.dom.Div import org.jetbrains.compose.web.dom.Text import kotlin.math.min @Composable fun <T> LoadingData(loader: suspend () -> T, key: Any? = null, content: @Composable (T...
0
Kotlin
0
0
97f9000db3ec6c04696b9c429d1fe00be53704e4
1,138
argoner
Apache License 2.0
src/main/kotlin/com/saehyun/smonkey/global/security/filter/TokenFilter.kt
hackersground-kr
656,532,644
false
null
package com.saehyun.smonkey.global.security.filter import com.saehyun.smonkey.global.security.jwt.JwtTokenProvider import org.springframework.security.core.context.SecurityContextHolder import org.springframework.web.filter.OncePerRequestFilter import javax.servlet.FilterChain import javax.servlet.http.HttpServletRequ...
3
Kotlin
3
3
e6538ddb129b05a76c85171af7a2261989306510
1,001
smonkey
MIT License
src/main/kotlin/turniplabs/industry/blocks/machines/lv/BlockRecycler.kt
FatherCheese
673,567,283
false
{"Kotlin": 268645, "Java": 3827}
package turniplabs.industry.blocks.machines.lv import net.minecraft.core.block.BlockTileEntityRotatable import net.minecraft.core.block.entity.TileEntity import net.minecraft.core.block.material.Material import net.minecraft.core.entity.player.EntityPlayer import net.minecraft.core.util.helper.Side import net.minecraf...
1
Kotlin
2
1
8b3f8bdfcb00ccb9c97bc97edd08bf25a6864d9e
3,966
Industry2
Creative Commons Zero v1.0 Universal