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/org/oppia/android/app/application/beta/BetaOppiaApplication.kt
oppia
148,093,817
false
null
package org.oppia.android.app.application.beta import org.oppia.android.app.application.AbstractOppiaApplication /** The root [AbstractOppiaApplication] for beta builds of the Oppia app. */ class BetaOppiaApplication : AbstractOppiaApplication(DaggerBetaApplicationComponent::builder)
508
null
517
315
95699f922321f49a3503783187a14ad1cef0d5d3
287
oppia-android
Apache License 2.0
openapi/checking/checker/src/main/kotlin/org/sollecitom/chassis/openapi/checking/checker/rules/LowercasePathNameRule.kt
sollecitom
669,483,842
false
{"Kotlin": 868904, "Java": 30834}
package org.sollecitom.chassis.openapi.checking.checker.rules import io.swagger.v3.oas.models.OpenAPI import org.sollecitom.chassis.openapi.checking.checker.rule.OpenApiRule object LowercasePathNameRule : OpenApiRule { override fun invoke(api: OpenAPI): OpenApiRule.Result { val violations = api.paths.as...
0
Kotlin
0
2
d11bf12bc66105bbf7edd35d01fbbadc200c3ee8
732
chassis
MIT License
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/Itunes.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
4,049
compose-icons
MIT License
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Ghost.kt
DevSrSouza
311,134,756
false
null
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,038
compose-icons
MIT License
app/src/main/java/com/example/hbyssystemmanagement/Model/PolyLine.kt
SibelG
482,640,693
false
{"Java": 314429, "Kotlin": 194951, "Assembly": 17}
package com.example.hbyssystemmanagement.Model class PolyLine { var points = "" }
1
null
1
1
7221d6505258a4bd52392e00453339fb1e8a530e
87
HospitalManagement-FinishingProject
MIT License
app/src/main/java/xyz/junerver/utils/MainActivity.kt
junerver
431,681,610
false
{"Java": 693161, "Kotlin": 205110}
package xyz.junerver.utils import android.Manifest import android.content.pm.ActivityInfo import android.content.res.Configuration import android.graphics.Typeface import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.text.Editable import android.text.InputType import android.text.Tex...
1
null
1
1
341e00804f42ae97a317894c542d2aad67f26db9
5,530
Utils
MIT License
buildSrc/src/main/kotlin/io/cloudflight/architectureicons/gradle/IconClassGeneratorModel.kt
emeraldjava
571,030,233
false
{"INI": 12, "Gradle Kotlin DSL": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 2, "Ignore List": 1, "Java": 18, "Java Properties": 2, "YAML": 2, "Kotlin": 8, "JSON": 12}
package io.cloudflight.architectureicons.gradle import java.io.File data class IconClass( val packageName: String, val sourceUrl: String, val licenseText: List<String> = emptyList(), val iconRootUrl: String, val icons: IconGroup, val pumlIncludes: List<Pair<String, String>> = emptyList() ) { ...
1
null
1
1
d8047024a26cfc18d6ff948fe658476fe3b43d57
693
structurizr-architecture-icons
MIT License
frontend/screen/tools/src/commonMain/kotlin/com/mindovercnc/linuxcnc/screen/tools/root/tabs/cuttinginsert/MaterialFeedsSpeeds.kt
85vmh
543,628,296
false
null
package ui.screen.tools.root.tabs.cuttinginsert import androidx.compose.ui.graphics.Color data class MaterialFeedsSpeeds( val letter: Char, val material: String, val color: Color, val ap: ClosedFloatingPointRange<Float>? = null, val fn: ClosedFloatingPointRange<Float>? = null, val vc: IntRange...
0
Kotlin
1
2
d9105f82d90ac6dbf4b6e0da160c706d67630d7f
330
mindovercnclathe
Apache License 2.0
net/craftventure/audioserver/packet/PacketKeyValue.kt
Craftventure
770,049,457
false
{"Kotlin": 3656616, "Java": 684034}
package net.craftventure.audioserver.packet import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) class PacketKeyValue( val key: String, val value: Any ) : BasePacket(PacketID.KEY_VALUE)
0
Kotlin
1
21
015687ff6687160835deacda57121480f542531b
214
open-plugin-parts
MIT License
shared/src/commonMain/kotlin/features/menu/data/source/remote/dto/IngredientDto.kt
mamadou94Diop
683,034,694
false
{"Kotlin": 34023, "Ruby": 1790, "Swift": 653, "Shell": 228}
package features.menu.data.source.remote.dto import kotlinx.serialization.Serializable @Serializable data class IngredientDto( val id: Int, val img: String, val name: String )
0
Kotlin
0
0
cbe15318f0d7a41b87903a475813381658191fe5
189
restaurant-app-compose-multiplatform
Apache License 2.0
scanner/src/main/kotlin/storages/ClearlyDefinedStorage.kt
jagusztinl
331,753,936
true
{"Kotlin": 2608289, "JavaScript": 335955, "HTML": 30614, "CSS": 24865, "Python": 21647, "FreeMarker": 11964, "Dockerfile": 7102, "Shell": 6931, "ANTLR": 1877, "Ruby": 1870, "Go": 1071, "Rust": 280}
/* * Copyright (C) 2020 Bosch.IO GmbH * * 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...
9
Kotlin
0
0
d572b888b3da58e808bf380ca3acedf78bd9e852
9,359
ort
Apache License 2.0
app/src/main/java/com/aksihijau/ui/user/signup/RegisterActivity.kt
Aksi-Hijau
644,446,947
false
null
package com.aksihijau.ui.signup import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Toast import androidx.lifecycle.ViewModelProvider import com.aksihijau.databinding.ActivityRegisterBinding import com.aksihijau.ui.login....
0
Kotlin
1
0
70059acc98ba40f0d9e29d657dcc119cd1cd2058
2,907
aksihijau-mobile
MIT License
app/src/main/java/com/han/collector/view/fragments/PlaceDetailFragment.kt
BoeunHan
490,203,513
false
null
package com.han.collector.view.fragments import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.lifecycleScope import com.h...
0
Kotlin
0
1
d270f132db2d0ff03ac70245139dd2bba8bc19b4
1,385
Collector
Apache License 2.0
wow-core/src/test/kotlin/me/ahoo/wow/event/upgrader/MockEventChangeRevisionUpgrader.kt
Ahoo-Wang
628,167,080
false
null
/* * Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)]. * 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...
6
null
8
98
eed438bab2ae009edf3a1db03396de402885c681
1,451
Wow
Apache License 2.0
src/main/kotlin/com/jacknie/doongji/banksalad/config/WebFluxConfiguration.kt
jacknie84
233,249,962
false
null
package com.jacknie.doongji.banksalad.config import com.fasterxml.jackson.databind.ObjectMapper import com.jacknie.doongji.banksalad.endpoint.* import com.jacknie.doongji.banksalad.model.* import com.jacknie.filestore.FileStoreTemplate import com.jacknie.filestore.filesystem.FileSystemStoreSession import org.jooq.DSLC...
0
Kotlin
0
0
3dfc85874e1ec5d9ca5d2cdfceef182194dc4b91
4,419
doongji-api-banksalad
MIT License
alcool-gasolina/src/Main.kt
emysantana
869,298,613
false
{"Kotlin": 13668}
fun main() { // coletar os preços dos combustíveis print("qual o valor do álcool no posto Wayne Oil? ") val precoAlcoolWayne = readLine()?.toDoubleOrNull() ?: 0.0 print("qual o valor da gasolina no posto Wayne Oil? ") val precoGasolinaWayne = readLine()?.toDoubleOrNull() ?: 0.0 print("qual o v...
0
Kotlin
0
0
b7d2c0ae1d1465f0634a57cbe62fd12152ef2102
2,193
hotel-terabithia
Apache License 2.0
plugins/kotlin/code-insight/inspections-shared/tests/testData/inspectionsLocal/removeEmptyParenthesesFromLambdaCall/afterLambda2.kt
ingokegel
72,937,917
true
null
// PROBLEM: none fun returnFun(fn: () -> Unit, i: Int): (() -> Unit) -> Unit = {} fun test() { returnFun({}, 1)()<caret> {} }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
131
intellij-community
Apache License 2.0
app/src/main/java/com/rp/hitta/api/ReviewsViewModel.kt
robapaul88
147,569,314
false
null
package com.rp.hitta.api import android.app.Application import android.arch.lifecycle.AndroidViewModel import android.arch.lifecycle.LiveData import com.rp.hitta.db.ReviewsDao import com.rp.hitta.db.ReviewsDatabase import com.rp.hitta.model.Review class ReviewsViewModel(application: Application) : AndroidViewModel(ap...
0
Kotlin
0
0
e44315f25b5301b8d211adf105c836704e3b1ac4
720
HittaReviews
Apache License 2.0
domain/src/main/java/uoc/cbonache/tfg/model/Credential.kt
cbonacheuoc
109,753,411
true
{"Kotlin": 144808, "Java": 6706}
package uoc.cbonache.tfg.model /** * @author cbonache */ data class Credential(val grant_type: String, val client_id: Int, val client_secret: String, val username: String, val password: String) { }
0
Kotlin
0
1
c6c3cdc87eb96aaf179a6442111371aebe0a80dc
288
Transpdroid-Android-App
Apache License 2.0
ext/src/main/kotlin/pers/victor/ext/StringExt.kt
VictorChow
100,688,778
false
null
package com.github.eprendre.tingshu.extensions import java.security.MessageDigest /** * Created by Victor on 2017/8/21. (ง •̀_•́)ง */ fun String.md5() = encrypt(this, "MD5") fun String.sha1() = encrypt(this, "SHA-1") fun String.isIdcard(): Boolean { val p18 = "^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(1...
1
null
22
138
01e56eb107f0eac6880420dc6377c6dfdf367b72
1,396
kotlin-android-lib
MIT License
library/src/test/kotlin/com/vinted/actioncable/client/kotlin/utils/MockWebServerResponseFactory.kt
vinted
149,245,804
false
null
package com.rafagonp.actioncable.client.kotlin.utils import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.launch import okhttp3.Response import okhttp3.WebSocket import okhttp3.WebSocketListener import okhttp3.mockwebserver.MockResponse object MockWebServerResp...
1
Kotlin
10
9
7b474babdb1865f3b559eac3e92fad475a67f6d8
1,765
actioncable-client-kotlin
MIT License
app/src/main/java/com/aitgacem/budgeter/MainActivity.kt
naitgacem
722,472,421
false
{"Kotlin": 85291}
package com.aitgacem.budgeter import android.os.Bundle import android.view.View.GONE import android.view.View.VISIBLE import androidx.activity.ComponentActivity import androidx.appcompat.app.AppCompatActivity import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.AppBarConfiguration import a...
0
Kotlin
0
0
a784260e08acefa1950bea6182d09256ddd1ca97
1,515
Budgeter
Apache License 2.0
src/eu/opendiabetes/gateway/language/info_sheets/legalNotice/English.kt
OPEN-diabetes
277,939,065
false
null
package eu.opendiabetes.gateway.language.info_sheets.legalNotice const val LEGAL_NOTICE_ENGLISH = """ <h1>Legal Notice</h1> <h2>Information pursuant to § 5 TMG</h2> <ul> <li>Dedoc Labs GmbH</li> <li>Stargarder Str. 19</li> <li>10437 Berlin</li> <li>Handelsregister: HRB 170782 B</li> <li>Registration court: Amtsgericht...
0
Kotlin
0
1
057ae04453639368cf9a038604b7a3865e2b3ddc
3,087
Gateway
MIT License
app/src/main/java/limbo/mrvoid/promag/activities/MainActivity.kt
thundra0308
507,504,895
false
null
package limbo.mrvoid.promag.activities import android.app.Activity import android.content.Context import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.os.SharedMemory import android.util.Log import android.view.Menu import android.view.MenuItem import android.v...
0
Kotlin
0
0
9454cbebfebfe13e6aaf02f0f1d8b703819bb8ad
7,219
ProMag
MIT License
api/src/main/kotlin/xyz/nightfury/api/APIJsonRoute.kt
NightFuryBot
93,881,665
false
null
/* * Copyright 2017-2018 Kaidan Gustave * * 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 ag...
0
Kotlin
0
6
6644cf54e64ded25f9c5a5ba113b610f3595e251
2,677
NightFury
Apache License 2.0
src/test/kotlin/OptimizeKtTest.kt
rasmusbergpalm
278,299,208
false
null
import org.junit.Assert import org.junit.Test import kotlin.math.PI import kotlin.math.cos import kotlin.math.sin class OptimizeKtTest { @Test fun newton() { val root = newton({ x -> sin(x) }, { x -> cos(x) }, 1e-6, 200, 2.0) Assert.assertEquals(root, PI, 1e-5) } }
3
Kotlin
0
0
19e718714a29e81e452b43181f6fe71e531cbd92
298
ksp
MIT License
tool/apk/src/main/kotlin/flank/apk/internal/PackageName.kt
Flank
84,221,974
false
{"Kotlin": 1748173, "Java": 101254, "Swift": 41229, "Shell": 10674, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1183, "EJS": 1061, "Go": 159}
package flank.apk.internal import flank.apk.Apk import net.dongliu.apk.parser.ApkFile internal val parseApkPackageName = Apk.ParsePackageName { path -> ApkFile(path).apkMeta.packageName }
64
Kotlin
115
676
b40904b4e74a670cf72ee53dc666fc3a801e7a95
194
flank
Apache License 2.0
ellipse-core/src/main/java/com/tomcz/ellipse/common/ViewModelExtension.kt
tomczyn
391,728,482
false
null
package com.tomcz.ellipse.common import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.tomcz.ellipse.PartialState import com.tomcz.ellipse.Processor import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.emptyFlow fun <EV : Any, EF : Any> ViewModel.processor( prepare:...
3
Kotlin
2
17
01b46328cec0b43325bc58aacd6c7e21cc78764b
996
ellipse
MIT License
src/main/kotlin/com/courte/booking/api/CourteController.kt
IldarRash
566,406,347
false
{"Kotlin": 72845}
package com.courte.booking.api import com.courte.booking.dto.request.BookCourtCreateRequest import com.courte.booking.dto.request.BookCourtUpdateRequest import com.courte.booking.dto.request.LocationRequestCreate import com.courte.booking.dto.request.LocationRequestUpdate import com.courte.booking.dto.view.BookCourtVi...
0
Kotlin
0
0
c0738fb357eb6f8b759caca73db85c39325a0093
2,311
volleyApp
MIT License
query-dsl-creator/src/commonMain/kotlin/com/chrynan/graphkl/query/template/QueryBuilderClassTemplate.kt
chRyNaN
230,310,677
false
null
package com.chrynan.graphkl.query.template import com.chrynan.graphkl.query.model.QueryBuilderClass class QueryBuilderClassTemplate : Template<QueryBuilderClass> { override fun invoke(model: QueryBuilderClass): String = """ class ${model.name}(private val ${model.builderParameter}) { ...
0
Kotlin
0
2
2526cedddc0a5b5777dea0ec7fc67bc2cd16fe05
1,547
graphkl
Apache License 2.0
ktor-server/ktor-server-test-host/jvm/src/io/ktor/server/testing/client/TestHttpClientRequest.kt
LloydFinch
166,520,021
true
{"Kotlin": 2419371, "Lua": 280, "HTML": 112}
package io.ktor.server.testing.client import io.ktor.client.call.* import io.ktor.client.request.* import io.ktor.http.content.* import io.ktor.http.* import io.ktor.util.* import kotlinx.coroutines.* class TestHttpClientRequest( override val call: HttpClientCall, private val engine: TestHttpClientEngine, ...
0
Kotlin
0
2
9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc
760
ktor
Apache License 2.0
apollo-mockserver/src/commonTest/kotlin/com/apollographql/apollo3/mockserver/test/EnqueueTest.kt
apollographql
69,469,299
false
null
package com.apollographql.apollo3.mockserver.test import com.apollographql.apollo3.annotations.ApolloExperimental import com.apollographql.apollo3.api.http.HttpMethod import com.apollographql.apollo3.api.http.HttpRequest import com.apollographql.apollo3.mockserver.MockChunk import com.apollographql.apollo3.mockserver....
129
Kotlin
559
3,046
7a1a291d5edc7d66d088c06b47975ef8a79fc439
1,716
apollo-android
MIT License
ExampleApp/composeApp/src/androidMain/kotlin/com/michaeltchuang/example/data/models/ValidatorConfig.kt
michaeltchuang
608,988,541
false
{"Kotlin": 129550, "JavaScript": 2764, "Shell": 806, "Swift": 522}
package com.algorand.example.coinflipper.data.model import java.math.BigInteger data class ValidatorConfig( val id: Int, // id of this validator (sequentially assigned) val owner: String, // account that controls config - presumably cold-wallet val manager: String, // account that triggers/pays for payout...
0
Kotlin
0
0
3b581247304bd9359da8fb1dd44495f4913fed2e
1,462
a-day-in-my-bobalife
Apache License 2.0
bootstrap/src/main/kotlin/net/dontdrinkandroot/wicket/bootstrap/component/form/formgroup/FormGroupRadioChoice.kt
dontdrinkandroot
7,002,436
false
null
package net.dontdrinkandroot.wicket.bootstrap.component.form.formgroup import org.apache.wicket.markup.html.form.AbstractChoice import org.apache.wicket.markup.html.form.RadioChoice import org.apache.wicket.model.IModel /** * @param <T> Type of the model object. */ class FormGroupRadioChoice<T>( id: String, ...
34
Kotlin
1
3
eaf007cfe70a136a334bd9cb22b5cc0e2fa50ff3
894
wicket.java
Apache License 2.0
src/main/kotlin/com/github/liliangshan/poi/config/BookConfig.kt
li-liangshan
218,495,334
false
null
package com.github.liliangshan.poi.config /************************************ * BookConfig class * @author liliangshan * @date 2019/10/30 ************************************/ class BookConfig( var name: String, var category: String = "", var manager: String = "", var company: Str...
0
Kotlin
0
0
6fd989a141e310707e034a46975b727372c8c222
523
data-poi
Apache License 2.0
app/src/main/java/org/listenbrainz/android/di/brainzplayer/DatabaseModule.kt
metabrainz
550,726,972
false
{"Kotlin": 1481175, "Ruby": 423}
package org.listenbrainz.android.di.brainzplayer import android.content.Context import androidx.room.Room import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationCo...
25
Kotlin
31
99
573ab0ec6c5b87ea963f013174159ddfcd123976
2,023
listenbrainz-android
Apache License 2.0
boj/a3085.kt
kylelab
811,401,558
false
{"Kotlin": 29082}
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.StringTokenizer; import kotlin.math.max import maxCnt fun main(){ val br: BufferedReader = BufferedReader(InputStreamReader(System.`in`)) val n = Integer.parseInt(br.readLine()) val inputs = Arra...
0
Kotlin
0
0
e0e96406bf8ce1a77d41fc60841d5aeb4a5efeee
2,774
algorithms
MIT License
game/plugin-testing/src/main/kotlin/org/apollo/game/plugin/testing/junit/api/annotations/testAnnotations.kt
Subby
145,592,872
true
{"Java": 1014138, "Kotlin": 238962, "Ruby": 227078, "Groovy": 2644}
package org.apollo.game.plugin.testing.junit.api.annotations import org.apollo.game.action.Action import kotlin.reflect.KClass annotation class ActionTest(val value: KClass<out Action<*>> = Action::class)
0
Java
0
3
2080e1e700551c929099e4f9817d64598ad15d58
206
apollo
ISC License
app/src/main/java/com/kickstarter/ui/views/AddOnCard.kt
kickstarter
76,278,501
false
null
package com.kickstarter.ui.views import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import androidx.cardview.widget.CardView import androidx.core.content.withStyledAttributes import androidx.core.view.isGone import androidx.recyclerview.widget.Re...
8
null
989
5,752
a9187fb484c4d12137c7919a2a53339d67cab0cb
8,792
android-oss
Apache License 2.0
android/src/androidMain/kotlin/com/github/sunland/chainpass/MainActivity.kt
sunlandx
421,030,005
false
{"Kotlin": 217958}
package com.github.sunland.chainpass import android.os.Bundle import android.os.Environment import androidx.activity.compose.setContent import androidx.appcompat.app.AppCompatActivity import androidx.compose.material3.MaterialTheme import com.github.sunland.chainpass.network.SyncServer import com.github.sunland.chainp...
0
Kotlin
0
4
629f75fc2f82558a001a03f61bcfefc3abfa2c48
2,412
chain-pass
Apache License 2.0
src/main/kotlin/appFrame.kt
jamowei
397,189,362
false
null
import dev.fritz2.components.* import dev.fritz2.dom.html.H import dev.fritz2.dom.html.RenderContext import dev.fritz2.dom.html.render import dev.fritz2.routing.router fun main() { val pages = object { val main = "main" val second = "second" val third = "third" } val router = route...
0
Kotlin
0
0
bc1530b80615dc1a396c90642287383f9a43cd4f
2,638
appFrame-demo
MIT License
features/main/src/main/java/com/maximapps/main/ui/history/ListViewHolder.kt
merklol
442,158,957
false
{"Kotlin": 198978}
/* * Copyright (c) 2021 Maxim Smolyakov * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publis...
0
Kotlin
0
5
2306729e92dd9f3c4fed63b7a7afe96d91982aac
2,164
Workout-Journal
MIT License
tripleklay/src/main/kotlin/tripleklay/ui/CapturedRoot.kt
cdietze
89,875,388
false
null
package tripleklay.ui import euklid.f.Dimension import euklid.f.Point import klay.core.QuadBatch import klay.core.Texture import klay.core.TextureSurface import klay.scene.ImageLayer import klay.scene.Layer import react.Closeable import react.Value import react.ValueView import kotlin.reflect.KClass /** * A root tha...
0
Kotlin
0
4
72031aa267cd304a0612b31c871e2f5cf73d2c4c
4,786
klay
Apache License 2.0
flowbinding-recyclerview/src/main/java/reactivecircus/flowbinding/recyclerview/RecyclerViewScrollStateChangedFlow.kt
mochadwi
326,126,160
true
{"Kotlin": 462471, "Shell": 2396}
package reactivecircus.flowbinding.recyclerview import androidx.annotation.CheckResult import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_DRAGGING import androidx.recyclerview.widget.RecyclerView.SCROLL_STATE_IDLE import androidx.recyclerview.widget.RecyclerV...
0
null
0
0
b2b56b9834cf003146193e9cfa3e2cb4e813439b
1,644
FlowBinding
Apache License 2.0
server-app/src/main/kotlin/com/example/serverapp/user/api/UserResourceAssembler.kt
andifalk
142,199,174
false
null
package com.example.serverapp.user.api import com.example.serverapp.user.boundary.User import org.springframework.hateoas.mvc.ResourceAssemblerSupport import org.springframework.stereotype.Component @Component class UserResourceAssembler : ResourceAssemblerSupport<User, UserResource>(UserRestController::class.java, U...
1
Kotlin
0
1
9af46483c0a2b9336010723e30d7c45676e06376
728
api-security-testing
Apache License 2.0
src/main/java/me/robinvdb/runetracker/services/HighScoresServiceImpl.kt
ucll-ip-2018
121,485,684
false
{"HTML": 13340, "Kotlin": 12637, "Shell": 69}
package me.robinvdb.runetracker.services import me.robinvdb.runetracker.domain.Stat import me.robinvdb.runetracker.domain.Skill import org.springframework.stereotype.Service import java.io.BufferedReader import java.io.IOException import java.io.InputStreamReader import java.net.URL import java.util.concurrent.atomic...
0
HTML
0
0
c2d11c25d2287a3b800000213b69690bd2420d41
2,538
project-internet-programming-2018-RobinVdBroeck
Apache License 2.0
rmqa/src/main/java/com/utsman/rmqa/listener/DeliveryListenerRaw.kt
esqi
224,773,497
false
{"Java": 19559, "Kotlin": 13254}
package com.utsman.rmqa.listener import org.json.JSONObject internal interface DeliveryListenerRaw { fun onRawJson(jsonObject: JSONObject) }
0
null
0
0
eedf95256d0c12d2f999b9ef0c8b2a49396d885e
146
rmqa
Apache License 2.0
src/main/kotlin/com/kylecorry/sol/math/algebra/Algebra.kt
kylecorry31
294,668,785
false
{"Kotlin": 845182, "Java": 18119, "Python": 298}
package com.kylecorry.sol.math.algebra import kotlin.math.sqrt object Algebra { /** * Solves an equation of form mx + b = 0 */ fun solve(equation: LinearEquation): Float? { if (equation.m == 0f) { if (equation.b == 0f) { return 0f } return...
7
Kotlin
4
8
1ee77667a9902825768f736fa06b15c6f1323071
1,120
sol
MIT License
downloader/core/src/main/kotlin/ir/amirab/downloader/connection/OkHttpDownloaderClient.kt
amir1376
825,187,044
false
null
package ir.amirab.downloader.connection import ir.amirab.downloader.connection.response.ResponseInfo import ir.amirab.downloader.downloaditem.IDownloadCredentials import ir.amirab.downloader.utils.await import okhttp3.* class OkHttpDownloaderClient( private val okHttpClient: OkHttpClient, ) : DownloaderClient() {...
31
null
16
721
34801da12e8ae1e0a7e4cec5b75a62c6d3b2d265
3,600
ab-download-manager
Apache License 2.0
ryft-core/src/main/java/com/ryftpay/android/core/model/payment/PaymentSessionError.kt
RyftPay
455,334,679
false
{"Kotlin": 409762}
package com.ryftpay.android.core.model.payment enum class PaymentSessionError( val rawValue: String ) { BadTrackData( rawValue = "bad_track_data" ), DeclinedDoNotHonour( rawValue = "declined_do_not_honour" ), ExpiredCard( rawValue = "expired_card" ), GatewayRejec...
0
Kotlin
0
0
19ccde00d3a43556c3793719bba51214a0ee0bae
1,039
ryft-android
MIT License
src/main/kotlin/us/dragonma/backgrounds/update/Network.kt
dragonmaus
271,821,933
false
null
package us.dragonma.backgrounds.update import java.io.File import java.net.URL import java.nio.file.Files import java.nio.file.Path import java.nio.file.StandardCopyOption import javax.net.ssl.HttpsURLConnection internal fun fetchFile(filename: String, directory: Path, credentials: Credentials): Pair<File, Boolean> {...
0
Kotlin
0
0
d3570ea83aaca758c57d5f805d2db8aac3020a26
1,537
update-backgrounds.kt
BSD 3-Clause Clear License
app/src/androidTest/java/com/sd/demo/io/TestUri.kt
zj565061763
370,430,279
false
{"Kotlin": 34641}
package com.sd.demo.io import androidx.test.ext.junit.runners.AndroidJUnit4 import com.sd.lib.io.fCacheDir import com.sd.lib.io.uri.fFileName import com.sd.lib.io.uri.fFileProviderAuthority import com.sd.lib.io.uri.fToFile import com.sd.lib.io.uri.fToUri import org.junit.Assert.assertEquals import org.junit.Test impor...
0
Kotlin
0
0
b071cf95d53e15ba8327fcd6126a9da6e604472d
1,154
io
MIT License
shared/src/commonMain/kotlin/com/renzler/shared/apis/kraken/domainREST/AssetInfo.kt
Pren7z
440,201,285
false
null
package com.AKMM.shared.apis.kraken.domain import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class AssetInfo ( @SerialName("error") val error: List<String>? = null, @SerialName("result") val assets: Map<String, Asset> ) @Serializ...
0
Kotlin
5
0
db66d801a80cf908c4310b2722afaaa5351c0ef1
597
kraken-kotlin-api
MIT License
the.orm/src/test/kotlin/io/the/orm/internal/HasManyInserterTest.kt
christophsturm
260,202,802
false
{"Kotlin": 212168}
package io.the.orm.internal import failgood.Test import failgood.mock.call import failgood.mock.getCalls import failgood.mock.mock import failgood.testsAbout import io.the.orm.PKType import io.the.orm.Repo import io.the.orm.dbio.ConnectionProvider import io.the.orm.internal.classinfo.ClassInfo import io.the.orm.relati...
11
Kotlin
0
0
84d94f046c72ab5f97e29687566ad5380d60a59b
2,508
the.orm
MIT License
app/src/main/java/com/example/appstore/ui/profile_comment/CommentAdapter.kt
rezakardan
779,591,568
false
{"Kotlin": 353707, "Java": 16027}
package com.example.appstore.ui.profile_comment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import coil.load import com.example.appstore.data.model.comment.ResponseGetComment impo...
0
Kotlin
0
0
c64368f08faae5b50d158dadb79a8a1a3cd3e140
3,144
AppStore__Git
MIT License
helper/src/main/java/digital/klik/helper/security/EncryptionService.kt
dikawardani24
301,948,418
false
null
package digital.klik.helper.security interface EncryptionService<T> { fun encrypt(data: T): String fun isMatched(encryptedData: String, data: T): Boolean fun decrypt(encryptedData: String): T }
0
Kotlin
0
0
0c2f848d649afd18faba125c669d89a50ccb1fe9
206
android-helper
MIT License
kmm/domain/src/commonMain/kotlin/com/barabasizsolt/mova/domain/usecase/auth/RegisterWithEmailAndPasswordUseCase.kt
barabasizsolt
524,965,150
false
null
package com.barabasizsolt.mova.domain.usecase.auth import com.barabasizsolt.mova.auth.api.AuthResult import com.barabasizsolt.mova.auth.api.AuthenticationService import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filterNotNull class RegisterWithEmailAndPasswordUseCase(private val service: Authenticati...
0
Kotlin
0
0
acf4e021200c670dbc7bc2a38240d019f2a4a3a2
510
Mova
The Unlicense
idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/foundation/icons/ValkyrieIcons.kt
ComposeGears
778,162,113
false
{"Kotlin": 777429}
package io.github.composegears.valkyrie.ui.foundation.icons object ValkyrieIcons
27
Kotlin
6
321
f0647081b15b907ad92b38c33eb62179ffd0f969
82
Valkyrie
Apache License 2.0
library/src/androidTest/java/com/dylanc/mmkv/MMKVTest.kt
DylanCaiCoding
409,925,969
false
null
package com.dylanc.mmkv import android.os.Parcelable import androidx.test.ext.junit.runners.AndroidJUnit4 import com.tencent.mmkv.MMKV import kotlinx.parcelize.Parcelize import org.junit.Assert import org.junit.Before import org.junit.Test import org.junit.runner.RunWith /** * @author <NAME> */ @RunWith(AndroidJUn...
3
null
17
99
898b3413ba46b21a0a8e0657867cf7b5e360a7af
4,207
MMKV-KTX
Apache License 2.0
src/main/kotlin/io/newm/kogmios/protocols/model/serializers/ProposedProtocolParametersResultSerializer.kt
projectNEWM
469,781,993
false
{"Kotlin": 332242, "Shell": 26}
package io.newm.kogmios.protocols.model.serializers import io.newm.kogmios.protocols.model.ProposedProtocolParameters import io.newm.kogmios.protocols.model.result.ProposedProtocolParametersResult import kotlinx.serialization.KSerializer import kotlinx.serialization.builtins.ListSerializer import kotlinx.serialization...
0
Kotlin
1
4
8e40a9f2e8b74e2d44705f42c0cac01ebedc96d5
1,185
kogmios
Apache License 2.0
diskord-testbot-jvm/src/main/kotlin/com.jessecorbett.diskord.testbot/Bot.kt
SolarisGC
392,766,027
true
{"Kotlin": 366629}
package com.jessecorbett.diskord.testbot import com.jessecorbett.diskord.bot.bot import com.jessecorbett.diskord.bot.classicCommands import com.jessecorbett.diskord.bot.events import com.jessecorbett.diskord.util.sendMessage suspend fun main() { bot(System.getenv("DISKORD_JVM_BOT")) { events { ...
0
Kotlin
0
1
979b586339b0bc6b5b3406ccfe440dde2df57509
771
Diskord
Apache License 2.0
common/src/main/kotlin/com/goofy/goober/common/flow/model/ImageResultsScreenState.kt
drinkthestars
307,616,443
false
null
package com.goofy.goober.common.flow.model import androidx.compose.runtime.mutableStateOf import com.goofy.goober.common.model.ImageResultsAction import com.goofy.goober.common.model.ImageResultsState import com.goofy.goober.common.model.reduce import com.goofy.goober.common.snapshot.model.ImageResultsScreenState impo...
0
Kotlin
1
8
08c3ab481c0426c483dd43191537c46b0ff537a0
1,013
space-library
MIT License
Retos/Reto #1 - EL LENGUAJE HACKER [Fácil]/kotlin/roswer13.kt
mouredev
581,049,695
false
{"Python": 4194087, "JavaScript": 1590517, "Java": 1408944, "C#": 782329, "Kotlin": 533858, "TypeScript": 479964, "Rust": 357628, "Go": 322940, "PHP": 288620, "Swift": 278290, "C": 223896, "Jupyter Notebook": 221090, "C++": 175187, "Dart": 159755, "Ruby": 71132, "Perl": 52923, "VBScript": 49663, "HTML": 45912, "Raku": ...
import java.text.Normalizer fun main() { testCase(word = "4", expected = "A") testCase(word = "hola", expected = "#014") testCase(word = "Algo más complejo", expected = "41&0 /\\/\\45 [0/\\/\\|*13,_|0") } fun testCase(word: String, expected: String) { val wordHack = hack(word = word) if (wordHack...
1
Python
2974
5,192
f8c44ac12756b14a32abf57cbf4e0cd06ad58088
1,811
retos-programacion-2023
Apache License 2.0
server/src/main/kotlin/zip/ntoj/server/repository/JudgerSystemStatusRepository.kt
ntoj
660,947,801
false
{"Kotlin": 192079, "TypeScript": 173011, "Dockerfile": 4185, "Groovy": 1114, "JavaScript": 834, "HTML": 301, "Shell": 84, "SCSS": 75}
package zip.ntoj.server.repository import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.JpaSpecificationExecutor import zip.ntoj.server.model.JudgerSystemStatus import java.util.Optional interface JudgerSystemStatusRepository : JpaRepository<JudgerSystemStatu...
12
Kotlin
4
5
e1aee9e6e55d7026bbf4720a614920bf8589eeec
454
ntoj
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/TrashRestore.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,454
icons
MIT License
shared/src/commonMain/kotlin/com/somabits/spanish/ui/exercise/ConjugationExerciseFieldState.kt
chiljamgossow
581,781,635
false
{"Kotlin": 918432, "Swift": 1817}
package com.somabits.spanish.ui.exercise import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.AnnotatedString import androidx.compose.ui.text.input.TextFieldValue import com.somabits.spanish.comparison.SubstringComparisonResult import com.somabits.spanish.regularity.isMatching import com.somabits....
1
Kotlin
0
0
e680c7048721fb9a2cbfb7cb5a9db3e39ac73b45
1,971
Spanish
MIT License
app/src/main/java/com/wstxda/gsl/MusicSearchQuickSettings.kt
WSTxda
598,228,261
false
{"Kotlin": 8213}
package com.wstxda.gsl import android.annotation.SuppressLint import android.content.Intent import android.service.quicksettings.TileService class MusicSearchQuickSettings : TileService() { // android.service.quicksettings.TileService @SuppressLint("StartActivityAndCollapseDeprecated") override fun onClic...
0
Kotlin
2
95
17b7aa42fb2746cc9c35d44c217d921314b2e0b4
546
Google-Shortcuts-Launcher
Apache License 2.0
app/src/main/java/com/example/satu/ui/activities/transfer/TransferAddNewRekeningActivity.kt
synrgy-satu
829,466,485
false
{"Kotlin": 221544}
package com.example.satu.ui.activities.transfer import android.content.Context import android.content.Intent import android.os.Bundle import android.view.inputmethod.InputMethodManager import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import com.example.satu.data.model.response.transf...
1
Kotlin
0
0
f26cf59385a8112a8649b449d964cc50933ba568
3,742
android-satu
Open Market License
hawk-android/src/androidTest/java/com/orhanobut/hawk/HawkRealTest.kt
edwardstock
218,550,588
false
{"Git Config": 1, "Gradle Kotlin DSL": 4, "Shell": 3, "Markdown": 3, "INI": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Java Properties": 2, "Proguard": 1, "Kotlin": 13, "Java": 21, "XML": 7}
package com.orhanobut.hawk import androidx.test.platform.app.InstrumentationRegistry import com.google.common.truth.Truth import com.orhanobut.hawk.Hawk.db import org.junit.Test class HawkRealTest { init { val ctx = InstrumentationRegistry.getInstrumentation().targetContext Hawk.init(ctx) ...
1
null
1
1
88495949dd60452fe9ed1166a81ac055c401c728
1,467
hawk
Apache License 2.0
base/gen/src/main/java/com/spirytusz/booster/processor/gen/functions/write/strategy/ObjectKtTypeWriteCodeGenerator.kt
spirytusz
392,160,927
false
null
package com.spirytusz.booster.processor.gen.functions.write.strategy import com.spirytusz.booster.processor.base.data.config.TypeAdapterClassGenConfig import com.spirytusz.booster.processor.base.data.type.KtType import com.spirytusz.booster.processor.base.log.MessageLogger import com.spirytusz.booster.processor.gen.co...
1
Kotlin
4
27
e2ede7bcece69832ae0267d1a34c4c6f2fdaac09
1,072
GsonBooster
MIT License
app/src/main/java/com/ericktijerou/photosearch/data/repository/PhotoRepositoryImpl.kt
ericktijerou
559,772,198
false
null
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
Kotlin
1
7
3231d1f1c2bedd66b84baefb90e8fc83ddee68e4
2,379
photosearch
Apache License 2.0
serialization/src/main/kotlin/net/corda/serialization/internal/verifier/ExternalVerifierTypes.kt
corda
70,137,417
false
{"Kotlin": 10675960, "Java": 275115, "C++": 239894, "Python": 37811, "Shell": 28324, "CSS": 23544, "Groovy": 14725, "CMake": 5393, "Dockerfile": 2574, "Batchfile": 1777, "PowerShell": 660, "C": 454}
package net.corda.serialization.internal.verifier import net.corda.core.contracts.Attachment import net.corda.core.contracts.RotatedKeys import net.corda.core.contracts.StateRef import net.corda.core.crypto.SecureHash import net.corda.core.crypto.toStringShort import net.corda.core.identity.Party import net.corda.core...
62
Kotlin
1077
3,989
d27aa0e6850d3804d0982024054376d452e7073a
5,168
corda
Apache License 2.0
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/vehicleselection/VehicleImageLoader.kt
rafalzawadzki
208,997,288
true
{"Kotlin": 1297852, "Groovy": 4489}
package com.daimler.mbmobilesdk.vehicleselection import com.daimler.mbingresskit.MBIngressKit import com.daimler.mbcarkit.MBCarKit import com.daimler.mbcarkit.business.model.vehicle.image.* import com.daimler.mbnetworkkit.common.HttpErrorDescription import com.daimler.mbnetworkkit.networking.HttpError import com.daiml...
0
null
0
0
1a924f70fbde5d731cdfde275e724e6343ee6ebe
2,121
MBSDK-Mobile-Android
MIT License
TestImg/app/src/main/java/com/example/testimg/BlankViewModel.kt
longerhhh
481,210,079
false
null
package com.example.testimg import androidx.lifecycle.ViewModel class BlankViewModel : ViewModel() { // TODO: Implement the ViewModel }
0
null
0
3
cfadd0844373d96200014188ace203217d162ca4
141
android_learn
Apache License 2.0
src/main/kotlin/me/nepnep/armordropper/ArmorDropper.kt
NepNep21
450,915,177
false
{"Kotlin": 1243}
package me.nepnep.armordropper import com.lambda.client.module.Category import com.lambda.client.plugin.api.PluginModule import com.lambda.client.util.TickTimer import com.lambda.client.util.TimeUnit import com.lambda.client.util.items.armorSlots import com.lambda.client.util.items.throwAllInSlot import com.lambda.cli...
0
Kotlin
2
3
d29e8419a4cefc9c6542f7375665e7620080a114
1,059
ArmorDropper
MIT License
src/main/kotlin/no/skatteetaten/aurora/boober/feature/OperationScopeFeature.kt
Skatteetaten
84,482,382
false
null
package no.skatteetaten.aurora.boober.feature import org.springframework.beans.factory.annotation.Value import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty import org.springframework.stereotype.Service import no.skatteetaten.aurora.boober.model.AuroraConfigFieldHandler import no.skatteetaten....
0
Kotlin
5
18
32489094591c9129f8f05daae3237e3627dfbd11
1,432
boober
Apache License 2.0
plugin/src/main/java/com/forceai/android/plugin/aoplization/TransformWithJavassit.kt
vy12021
567,123,527
false
{"Kotlin": 87134, "Java": 5115}
package com.forceai.android.plugin.aoplization import com.android.build.api.transform.* import javassist.* import javassist.bytecode.AnnotationsAttribute import javassist.bytecode.annotation.StringMemberValue import org.gradle.api.Project import java.io.File import java.io.IOException import java.util.* import java.ut...
0
Kotlin
0
0
e83249e6f48a9e6f6a4c47c3204182b5086a8a03
16,117
aoplization
Apache License 2.0
library/src/main/java/com/wahidabd/library/presentation/adapter/BaseSelectableAdapter.kt
wahidabd
705,005,842
false
{"Kotlin": 165260}
package com.wahidabd.library.presentation.adapter import android.annotation.SuppressLint import android.content.Context import android.view.ViewGroup import androidx.viewbinding.ViewBinding import com.wahidabd.library.presentation.adapter.viewholder.BaseItemViewHolder import com.wahidabd.library.utils.exts.onClick /...
0
Kotlin
0
0
e70a5c0935c1ef5b5ec4f5b1a758500adcd1fc2e
2,132
onelib
MIT License
client/src/main/java/com/mytiki/publish/client/capture/PublishingStatusEnum.kt
tiki
745,005,450
false
{"Kotlin": 31722}
package com.mytiki.publish.client.capture /** * Publishing status enum * * The status of the data processing. */ enum class PublishingStatusEnum{ IN_PROGRESS, ERROR, DONE }
8
Kotlin
0
0
46acca3348e728d1186eb362710c5d98b7132c35
190
publish-client-android
MIT License
plugins/base/src/main/kotlin/resolvers/shared/utils.kt
Kotlin
21,763,603
false
null
package org.jetbrains.dokka.base.resolvers.shared import java.io.InputStream import java.net.HttpURLConnection import java.net.URL import java.net.URLConnection internal fun URL.readContent(timeout: Int = 10000, redirectsAllowed: Int = 16): InputStream { fun URL.doOpenConnection(timeout: Int, redirectsAllowed: In...
421
Kotlin
388
3,010
97bccc0e12fdc8c3bd6d178e17fdfb57c3514489
1,367
dokka
Apache License 2.0
Week1/BlackJack/src/CardController.kt
Rituzka
268,327,932
false
null
class CardController { fun createDeck(): MutableSet<Card> { val listSuits = listOf('C', 'D', 'S', 'H') val listPips = listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14) val setCards = mutableSetOf<Card>() for (pip in listPips) { for (suit in listSuits) { ...
3
Kotlin
0
1
68b855a2397837bd2459668df799251daf8d8ad9
1,982
HomeworkRWAndroidBootcamp
MIT License
roboquant/src/main/kotlin/org/roboquant/feeds/csv/CSVFeed.kt
jetonbacaj
411,404,707
true
{"Jupyter Notebook": 4397692, "Kotlin": 1165069, "Shell": 876}
/* * Copyright 2020-2022 Neural Layer * * 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 agr...
0
Jupyter Notebook
0
0
421bbf053b9e64bc1d7a3daa12b37150ab509c25
5,426
roboquant
Apache License 2.0
src/main/kotlin/com/github/shmvanhouten/adventofcode/day22gridcomputing/EmptyNodeMover.kt
SHMvanHouten
109,886,692
false
{"Kotlin": 616528}
package com.github.shmvanhouten.adventofcode.day22gridcomputing class EmptyNodeMover(private val storageCluster: StorageCluster, private val emptyNodeRoutePlanner: EmptyNodeRoutePlanner = EmptyNodeRoutePlanner()) { fun moveEmptyClusterTo(targetCoordinate: Coordinate): Pair<StorageCluster, Int> { val coor...
0
Kotlin
0
0
a8abc74816edf7cd63aae81cb856feb776452786
1,765
adventOfCode2016
MIT License
app/src/main/java/com/development/gocipes/presentation/home/article/ArticleViewModel.kt
BeCipes
717,700,454
false
{"Kotlin": 231408}
package com.development.gocipes.presentation.home.article import androidx.lifecycle.ViewModel import androidx.lifecycle.asLiveData import com.development.gocipes.core.domain.repository.ArticleRepository import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class ArticleViewModel...
0
Kotlin
1
0
4559d6c57777adc40d1c2d15c102a54f138ad45d
473
Mobile-Development
Apache License 2.0
src/main/kotlin/online/bingzi/gemini/systemEvaluate/internal/entity/Result.kt
FastMirror-MC
645,747,150
false
null
package online.bingzi.gemini.systemEvaluate.internal.entity import java.time.LocalDateTime /** * Result * * @property point 评估分数 * @property testCount 测试项目数量 * @property startTime 开始时间 * @constructor Create empty Result */ data class Result( var point: Int, var testCount: Int, val startTime: LocalD...
0
Kotlin
0
0
ab1ae637ce68de3387e3445f086448ee8042cbfc
330
GeminiSystemEvaluate
Creative Commons Zero v1.0 Universal
src/main/kotlin/org/imyuyu/idea/plugins/filesync/ProjectStartupActivity.kt
imyuyu
495,438,091
false
{"Kotlin": 168474}
package org.imyuyu.idea.plugins.filesync import com.intellij.openapi.project.Project import com.intellij.openapi.startup.ProjectActivity import com.intellij.openapi.startup.StartupActivity /** * * Startup Activity * * date: 2023/2/19 18:57 * * @author Zhengyu Hu */ class ProjectStartupActivity : ProjectActivit...
0
Kotlin
0
0
6748781819b819d81dc2a3a0f76620db64876b8d
445
FileSyncPlugin
MIT License
questPresentation/src/main/java/ru/nekit/android/qls/quest/view/mediator/types/direction/DirectionAnswerMediator.kt
ru-nekit-android
126,668,350
false
null
package ru.nekit.android.qls.quest.view.mediator.types.direction import android.view.View import ru.nekit.android.qls.domain.model.AnswerType import ru.nekit.android.qls.domain.model.quest.Quest import ru.nekit.android.qls.quest.QuestContext import ru.nekit.android.qls.quest.view.mediator.answer.SwipeAnswerMediator im...
0
Kotlin
0
1
37a2037be2ecdbe19607b5fbb9e5f7852320a5a0
1,146
QuestLockScreen
Apache License 2.0
subprojects/feature/uploader/src/test/kotlin/com/olderworld/feature/uploader/UploaderStateTest.kt
tomkoptel
301,164,678
false
null
package com.olderworld.feature.uploader import org.amshove.kluent.shouldBeEqualTo import org.junit.Test internal class UploaderStateTest { @Test fun `if no tasks then progress is 0`() { Uploader.State( pending = 0, sending = 0, terminated = 0, completed ...
0
Kotlin
0
0
3048fdc743c577bc241363e488461020638524ed
1,110
uploader-android-client
MIT License
app/src/main/java/io/keyu/cashbackcalendarwidget/service/CashbackWidgetService.kt
zhaonian
172,764,972
false
{"Kotlin": 24854}
package io.keyu.cashbackcalendarwidget.service import android.content.Context import android.content.Intent import android.view.View import android.widget.RemoteViews import android.widget.RemoteViewsService import io.keyu.cashbackcalendarwidget.R import io.keyu.cashbackcalendarwidget.model.CashbackDataSource class C...
0
Kotlin
0
0
9d2721350587f2940dbdfb73b335ff3cc03cefd2
2,145
CashBack-Calendar-Widget
Apache License 2.0
newsblog/android/app/src/main/kotlin/com/blogapp/newsblog/MainActivity.kt
Umarkhabiliy
422,820,110
false
{"Dart": 50344, "HTML": 3851, "Swift": 404, "Kotlin": 125, "Objective-C": 38}
package com.blogapp.newsblog import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
1
f86349e8c91a05aa15cbf3a8e183aecdefda69ed
125
blogappUI
MIT License
preference/src/main/java/com/codeforcesvisualizer/preference/AppearanceSection.kt
islamdidarmd
148,098,533
false
{"Kotlin": 185614}
package com.codeforcesvisualizer.preference import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.padding import androidx.compose.material.MaterialTheme import androidx.compose.mater...
0
Kotlin
0
8
37123b15662c0353bedd487127a54c4be55b52f9
1,969
Codeforces-Companion
MIT License
compiler/standard/src/test/java/gsonpath/unit/adapter/enums/EnumFieldLabelMapperTest.kt
LachlanMcKee
53,666,769
false
null
package gsonpath.unit.adapter.enums import com.google.gson.FieldNamingPolicy import gsonpath.adapter.enums.EnumFieldLabelMapper import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized @RunWith(Parameterized::class) class EnumFieldLabelMapperTes...
6
Kotlin
4
57
bc666ca0d7677443bd841d7f4ec49618ec5d2ede
3,643
gsonpath
MIT License
app/src/main/java/com/gamapp/dmplayer/presenter/ui/screen/dialog/add_musics_to_queues_dialog/QueueDivider.kt
aliHosseinNezhad
507,626,994
false
null
package com.gamapp.dmplayer.presenter.ui.screen.dialog.add_musics_to_queues_dialog import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.material....
0
Kotlin
0
2
8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada
845
DMPlayer_public
MIT License
core/src/main/java/com/binbo/glvideo/core/opengl/egl/EGLCore.kt
bigbugbb
590,505,224
false
{"C": 7685938, "C++": 4393829, "Kotlin": 644772, "Java": 564403, "GLSL": 23970, "Objective-C": 7449, "CMake": 3326}
package com.binbo.glvideo.core.opengl.egl import android.graphics.SurfaceTexture import android.opengl.* import android.opengl.EGL14.EGL_PBUFFER_BIT import android.opengl.EGL14.EGL_WINDOW_BIT import android.util.Log import android.view.Surface const val FLAG_RECORDABLE = 0x01 // Android 指定的标志 // 告诉EGL它创建的surface必须和...
0
C
0
10
e7384ea4f23ab8cc89d5701dcedaf8cdd6ecaf17
7,159
glvideo
MIT License
server/src/main/kotlin/dev/chargedbyte/reaktor_summer_2022/plugins/Routing.kt
ChargedByte
448,422,989
false
null
package dev.chargedbyte.reaktor_summer_2022.plugins import io.ktor.application.* import io.ktor.locations.* fun Application.configureRouting() { install(Locations) }
0
Kotlin
0
0
9e518e2b52be1b4e32b0cc4a8bc0a46db46a3544
172
reaktor-summer-2022
MIT License
Oxygen/bukkit/src/main/kotlin/cc/fyre/stark/modsuite/command/ReportCommand.kt
AndyReckt
364,514,997
false
{"Java": 12055418, "Kotlin": 766337, "Shell": 5518}
/* * Copyright (c) 2020. * Created by YoloSanta * Created On 10/22/20, 1:23 AM */ package cc.fyre.stark.modsuite.command import cc.fyre.stark.Stark import cc.fyre.stark.core.pidgin.message.Message import cc.fyre.stark.engine.command.Command import cc.fyre.stark.engine.command.data.parameter.Param import cc.fyre.s...
1
null
1
1
200501c7eb4aaf5709b4adceb053fee6707173fa
2,295
Old-Code
Apache License 2.0
src/business/usecase/GetAllUsersUseCase.kt
alessandroToninelli
266,056,845
false
null
package business.usecase import data.repository.AppRepository import model.Film import model.User import vo.Either import vo.Failure class GetAllUsersUseCase (private val repo: AppRepository): UseCase<Nothing, List<User>>(){ override suspend fun exec(param: Nothing?, onResult: (Either<Failure, List<User>>) -> Uni...
0
Kotlin
0
0
105159069bee4a97715f61165b683c741b01820e
370
videostore
Apache License 2.0
kzmq-jeromq/src/jvmMain/kotlin/org/zeromq/JeroMQRequestSocket.kt
ptitjes
386,722,015
false
null
/* * Copyright (c) 2021-2022 Didier Villevalois and Kzmq contributors. * Use of this source code is governed by the Apache 2.0 license. */ package org.zeromq internal class JeroMQRequestSocket internal constructor( factory: (type: SocketType) -> ZMQ.Socket, ) : JeroMQSocket(factory, SocketType.REQ, Type.REQ), ...
21
Kotlin
0
6
1e6c7a35b7dc93b34a8f6da9d56fd5b3335dd790
594
kzmq
Apache License 2.0
api/v1/model/src/commonMain/kotlin/validation/ValidationHelper.kt
eclipse-apoapsis
760,319,414
false
{"Kotlin": 2994047, "Dockerfile": 24090, "Shell": 6277}
/* * Copyright (C) 2023 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>) * * 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://w...
18
Kotlin
2
9
0af70d6382a86f0ebc35d9b377f4229c6a71637a
1,593
ort-server
Apache License 2.0
src/main/kotlin/cn/rtast/fancybot/entity/music/TopSong.kt
RTAkland
848,208,941
false
{"Kotlin": 309459}
/* * Copyright © 2024 RTAkland * Author: RTAkland * Date: 2024/10/3 */ package cn.rtast.fancybot.entity.music data class TopSong( val data: List<Data> ) { data class Data( val privilege: Privilege ) data class Privilege( val id: Long ) }
0
Kotlin
0
1
7e851e831a471247d06353bf8e4067a9cbb4a1e5
281
FancyBot
Apache License 2.0