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
server/server-app/src/test/kotlin/projektor/repository/testrun/RepositoryFlakyTestApplicationTest.kt
helenbelen
328,027,965
true
{"Kotlin": 699143, "TypeScript": 286831, "Groovy": 218345, "JavaScript": 155322, "Java": 15226, "HTML": 566, "Dockerfile": 175, "Python": 72, "Shell": 35}
package projektor.repository.testrun import io.ktor.http.* import io.ktor.server.testing.* import io.ktor.util.* import org.apache.commons.lang3.RandomStringUtils import org.junit.jupiter.api.Test import projektor.ApplicationTestCase import projektor.TestSuiteData import projektor.incomingresults.randomPublicId import...
0
null
0
0
afdbec0d9c4ea0906369923409ccb4d8121d062c
5,622
projektor
MIT License
app/src/main/java/com/douglas/githubauth/module/repositoryList/RepositoryAdapter.kt
douglas-queiroz
186,172,907
false
{"Kotlin": 56818}
package com.douglas.githubauth.module.repositoryList import android.databinding.DataBindingUtil import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import com.douglas.githubauth.R import com.douglas.githubauth.databinding.ItemRepositoryBinding import com.dougl...
0
Kotlin
0
0
063115e6f44e93e4f9ba0063bf43da6e02b77359
1,133
Github-Auth
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/boldduotone/businessstatistic/CourseDown.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.boldduotone.businessstatistic import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics....
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
4,177
SolarIconSetAndroid
MIT License
app/src/main/java/com/nuevo/gameness/ui/pages/personal/tournaments/detail/fixture/adapter/TournamentFixtureChildAdapter.kt
arbabkh
873,814,880
false
{"Kotlin": 538078}
package com.nuevo.gameness.ui.pages.personal.tournaments.detail.fixture.adapter import android.view.LayoutInflater import android.view.ViewGroup import com.nuevo.gameness.data.model.tournaments.TournamentFixtureMatches import com.nuevo.gameness.databinding.ItemTournamentFixtureChildBinding import com.nuevo.gameness.ui...
0
Kotlin
0
0
80d7b04385a2cd516b8157dbea19dd821c30fcc9
2,239
gameness-android
MIT License
app/src/main/java/de/iplabs/mobile_sdk_example_app/viewmodels/CartViewModel.kt
iplabs
598,095,302
false
{"Kotlin": 173913}
package de.iplabs.mobile_sdk_example_app.viewmodels import androidx.lifecycle.ViewModel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.flow.update class CartViewModel : ViewModel() { private val _canTriggerCheckout = MutableStateFlow(true) val ca...
0
Kotlin
0
3
e2d55e35a4a00e5f6d04dcbc602efc18b661392b
534
mobile-sdk-android-example-app
MIT License
app/src/main/java/com/hellocuriosity/playground/MainActivity.kt
hopeman15
645,674,633
false
null
package com.hellocuriosity.playground import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.m...
0
Kotlin
0
0
449b2ad4603b39d8ebd457a34e8cd902e2f06c11
992
android-playground
MIT License
app/src/main/java/com/hellocuriosity/playground/MainActivity.kt
hopeman15
645,674,633
false
null
package com.hellocuriosity.playground import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.m...
0
Kotlin
0
0
449b2ad4603b39d8ebd457a34e8cd902e2f06c11
992
android-playground
MIT License
js/js.translator/testData/incremental/invalidation/fileNameCaseClash/lib/f1.kt
JetBrains
3,432,266
false
null
package foo fun test1() = "OK"
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
31
kotlin
Apache License 2.0
examples/src/main/kotlin/material/basics/7_Lambdas.kt
DarkToast
129,854,688
false
{"Kotlin": 51540, "Dockerfile": 152}
@file:Suppress("UNUSED_VARIABLE", "ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE", "UNUSED_VALUE") package material.basics fun main() { val colorList: List<String> = listOf("blue", "green", "red") /** * Lambdas und Collections */ // Generell lassen sich alle Liste mit Schleifen iterieren. Jedes Element ...
0
Kotlin
2
2
1b6c2f4593b9031bf4fc28f096beb49429577683
7,306
kotlin-workshop
MIT License
src/usecases/SignInUser.kt
primepixel
363,948,611
false
null
package io.aethibo.usecases import io.aethibo.entities.request.SignInDraft import io.aethibo.entities.response.User import io.aethibo.repositories.MainRepository interface SignInUserUseCase { suspend operator fun invoke(draft: SignInDraft): User? } class SignInUserUseCaseImpl(private val repository: MainReposito...
0
Kotlin
0
0
2b9bd78dd3fa50924e70a28991212d9102517c44
443
Hades
Apache License 2.0
app/src/main/java/com/locallinkonline/stcatherineschool/view/LunchViewModel.kt
osloxen
116,837,317
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "XML": 14, "Kotlin": 20, "Java": 1}
package com.locallinkonline.stcatherineschool.view import android.app.Application import android.text.format.DateUtils import com.locallinkonline.locallinkschool.view.LiveDataViewModel import com.locallinkonline.stcatherineschool.room.entity.LunchEntity import com.locallinkonline.stcatherineschool.room.repository.StC...
0
Kotlin
0
0
cad7c94bd81f6e26967e2fd926eb6206847aa1bc
1,252
stcAndroidApp
MIT License
camera/camera-testing/src/main/java/androidx/camera/testing/impl/EncoderProfilesUtil.kt
androidx
256,589,781
false
{"Kotlin": 102794437, "Java": 64412412, "C++": 9138104, "AIDL": 617598, "Python": 310931, "Shell": 189529, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18033, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28
Kotlin
937
5,108
89ec14e39cf771106a8719337062572717cbad31
7,115
androidx
Apache License 2.0
src/main/kotlin/io/github/edmondantes/simple/localization/LocalizationKey.kt
EdmonDantes
513,617,915
false
{"Kotlin": 63128}
/* * Copyright (c) 2022. Ilia Loginov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Kotlin
0
0
7078539d62e6de04d849ae58787c06170daa599d
1,187
simple-localization
Apache License 2.0
app/src/main/java/com/ewentteamfsm/features/dymanicSection/api/DynamicRepoProvider.kt
DebashisINT
735,935,748
false
{"Kotlin": 13771658, "Java": 998175}
package com.ewentteamfsm.features.dymanicSection.api import com.ewentteamfsm.features.dailyPlan.api.PlanApi import com.ewentteamfsm.features.dailyPlan.api.PlanRepo /** * Created by Saikat on 19-Aug-20. */ object DynamicRepoProvider { fun dynamicRepoProvider(): DynamicRepo { return DynamicRepo(DynamicApi...
0
Kotlin
0
0
a62a5f5e9386129344ada4a00b104506e9ba75fe
452
SaraogiEVentures
Apache License 2.0
Spring Boot/Student-Structure/src/main/kotlin/com/example/Student/Structure/controller/UserController.kt
Sadegh-kh
526,466,704
false
null
package com.example.Student.Structure.controller import org.springframework.stereotype.Controller import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RequestMethod @Controller class UserController { @RequestMapping("/login",method = [RequestMethod.GET]) ...
0
Kotlin
0
0
2e83b6a742364b69517d0ccf3c4d6e7c84e508f9
383
MVVM_AndoridComponent
MIT License
examples/hello-world/src/commonMain/kotlin/Application.kt
dhakehurst
285,325,370
false
null
package net.akehurst.kotlin.gui.examples.hello.world import net.akehurst.kotlin.gui.api.GuiFactory class Application( val factory: GuiFactory ) { val gui = Gui(factory) fun start() { gui.start() } }
0
Kotlin
0
0
3288a9c85c4f4764c922db7476c70496fbe2ca47
233
net.akehurst.kotlin.gui
Apache License 2.0
storage/lib/src/main/java/app/grapheneos/backup/storage/api/StorageBackup.kt
GrapheneOS
386,747,442
false
{"Kotlin": 1340282, "Java": 12080, "Shell": 6142}
/* * SPDX-FileCopyrightText: 2021 The Calyx Institute * SPDX-License-Identifier: Apache-2.0 */ package app.grapheneos.backup.storage.api import android.annotation.SuppressLint import android.content.Context import android.net.Uri import android.provider.DocumentsContract.isTreeUri import android.provider.MediaStor...
0
Kotlin
12
24
8560bc60b3e2717bd9b4bef2a8d77b0e7fdc26a8
9,201
platform_external_seedvault
Apache License 2.0
lint/src/com/android/tools/idea/lint/common/ShowUrlQuickFix.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
1,289
android
Apache License 2.0
sdk-mobile/src/main/kotlin/io/github/wulkanowy/sdk/mobile/school/Teacher.kt
dominik-korsa
237,057,001
true
{"Kotlin": 509705, "HTML": 128700, "Shell": 505}
package io.github.wulkanowy.sdk.mobile.school import com.google.gson.annotations.SerializedName data class Teacher( @SerializedName("IdPracownik") val employeeId: Int, @SerializedName("IdPrzedmiot") val subjectId: Int, @SerializedName("Rola") val role: String )
0
Kotlin
0
0
2d2b5176e6b3d5e5eb6b812441c1af740f26eeb5
291
sdk
Apache License 2.0
src/test/kotlin/br/com/jiratorio/integration/holiday/DeleteHolidayIntegrationTest.kt
jirareport
126,883,660
false
{"Kotlin": 628412, "Dockerfile": 302}
package br.com.jiratorio.integration.holiday import br.com.jiratorio.testlibrary.Authenticator import br.com.jiratorio.testlibrary.restassured.specification.notFound import br.com.jiratorio.testlibrary.junit.testtype.IntegrationTest import br.com.jiratorio.testlibrary.dsl.restAssured import br.com.jiratorio.testlibrar...
12
Kotlin
12
21
845540e238f47fbd05c1f7f6839152545521c63e
1,520
jirareport
MIT License
app/src/main/java/com/abbaraees/weatherly/ui/screens/Home.kt
Abbaraees
777,191,517
false
{"Kotlin": 53609}
package com.abbaraees.weatherly.ui.screens import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout...
0
Kotlin
0
0
7c7d7601fbef45bcfcebd3276c1090fbdc0279e1
7,224
weatherly
Apache License 2.0
app/src/main/java/com/gdsciiita/ontimepro/classes/User.kt
Elevate-Lab
435,849,640
false
{"Kotlin": 23804, "Java": 13088}
package com.gdsciiita.ontimepro.classes import android.content.ContentValues.TAG import android.util.Log object User{ init { Log.i(TAG, "Singleton class invoked.") } lateinit var userName: String lateinit var authToken: String lateinit var userEmail: String lateinit var firebaseToken:...
1
Kotlin
3
3
2ff53629f983889825c6eb7a524058ad0bed8f7b
330
on-time-pro
MIT License
coil-base/src/main/java/coil/bitmappool/strategy/SizeStrategy.kt
mikepenz
204,665,417
false
null
package coil.bitmappool.strategy import android.graphics.Bitmap import android.os.Build.VERSION_CODES.KITKAT import android.os.Build.VERSION_CODES.M import androidx.annotation.Px import androidx.annotation.RequiresApi import coil.collection.GroupedLinkedMap import coil.util.Utils import coil.util.getAllocationByteCoun...
0
null
0
2
ea70882e982a9c5fdd2169e293024861c18fa3b4
3,375
coil
Apache License 2.0
src/test/kotlin/no/nav/syfo/helsepersonell/redis/HelsepersonellRedisTest.kt
navikt
198,372,403
false
{"Kotlin": 70495, "Dockerfile": 276}
package no.nav.syfo.helsepersonell.redis import io.kotest.core.spec.style.FunSpec import io.mockk.every import io.mockk.mockk import org.amshove.kluent.shouldBeEqualTo import redis.clients.jedis.JedisPool import redis.clients.jedis.exceptions.JedisConnectionException class HelsepersonellRedisTest : FunSpec({ ...
1
Kotlin
0
0
c529b42e071b4c1102773cd7c898f915cf3135df
959
syfohelsenettproxy
MIT License
app/src/test/java/io/github/rosariopfernandes/minibrothereye/network/CharacterServiceTest.kt
rosariopfernandes
275,041,372
false
null
package io.github.rosariopfernandes.minibrothereye.network import io.github.rosariopfernandes.minibrothereye.util.API_BASE_URL import kotlinx.coroutines.runBlocking import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer import org.junit.Assert.assertFalse import org.junit.Assert.assertTru...
7
Kotlin
10
31
aacd9f759a11c653ad6cb50051c3bac4085d062e
4,155
MiniBrotherEye
Apache License 2.0
app/src/main/java/com/example/notefy/MainActivity.kt
Nyamekesse
654,374,579
false
null
package com.example.notefy import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.ui.tooling.preview.Preview ...
0
Kotlin
0
0
9517e41ee73c492f18d0cbb4ae77ca7ca7a5bcf5
1,439
notefy
MIT License
samples/star/src/jvmMain/kotlin/com/slack/circuit/star/di/BaseUiModule.kt
slackhq
523,011,227
false
{"Kotlin": 351983, "Shell": 4085}
// Copyright (C) 2022 Slack Technologies, LLC // SPDX-License-Identifier: Apache-2.0 package com.slack.circuit.star.di import coil3.ImageLoader import coil3.PlatformContext import coil3.fetch.NetworkFetcher import com.squareup.anvil.annotations.ContributesTo import com.squareup.anvil.annotations.optional.SingleIn impo...
25
Kotlin
53
1,141
d8fcc6d0f71e74960d084cf0de88dbdcd29f1f17
718
circuit
Apache License 2.0
app/src/main/java/com/androidarchitecture/data/auth/TokenStore.kt
binaryroot
91,831,997
false
null
package com.androidarchitecture.data.auth import android.content.SharedPreferences import com.androidarchitecture.entity.auth.Token import com.google.gson.GsonBuilder class TokenStore constructor( private val mSecureSharedPreferences: SharedPreferences) { companion object { var TOKEN_NAME: String = "TOK...
1
Kotlin
22
131
4258e2bd8a6f95cacb7a795d7260c578131b244b
1,144
AndroidArchitecture
MIT License
kert-grpc/src/main/kotlin/ws/leap/kert/grpc/Server.kt
wsleap
310,737,543
false
null
package ws.leap.kert.grpc import io.grpc.Status import io.vertx.core.buffer.Buffer import io.vertx.core.http.HttpHeaders import io.vertx.core.http.HttpMethod import io.vertx.core.http.HttpVersion import io.vertx.core.http.impl.headers.HeadersMultiMap import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.c...
6
null
1
29
e2bbded0d3b177868cadc50f922361a0dc423d68
4,747
kert
Apache License 2.0
rxhttp/src/main/java/rxhttp/CallFactoryToAwait.kt
liujingxing
167,158,553
false
null
package rxhttp import android.content.Context import android.net.Uri import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.collect import rxhttp.wrapper.CallFactory import rxhttp.wrapper.OkHttpCompat import rxhttp.wrapper.callback.OutputStreamFactory import rxhttp.wrapper.coroutines.Await import rxhttp.wr...
0
Kotlin
399
3,304
a8125226fc624a89240ae572d9b784e2d4c9d70e
3,002
rxhttp
Apache License 2.0
kotlin/kotlin-consumer/src/main/kotlin/com/google/mapsplatform/transportation/sample/kotlinconsumer/provider/service/RestProvider.kt
googlemaps
411,368,871
false
{"Kotlin": 202586, "Java": 196801}
/* Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
3
Kotlin
12
24
42355907923895e64f962f824fb2e5ab21d5bc3b
1,597
android-on-demand-rides-deliveries-samples
Apache License 2.0
persistence/mysql/src/test/kotlin/io/mailit/persistence/mysql/MysqlDatabaseSchemaTest.kt
awelless
467,556,925
false
{"Kotlin": 336127, "Vue": 18555, "JavaScript": 10159, "TypeScript": 9415, "HTML": 1274, "SCSS": 777, "Java": 428, "Shell": 50}
package io.mailit.persistence.mysql import com.mysql.cj.jdbc.MysqlDataSource import io.agroal.api.security.SimplePassword import io.agroal.pool.DataSource as AgroalDataSource import io.mailit.persistence.common.createSchema import io.mailit.persistence.common.dropSchema import io.mailit.persistence.common.initializeSc...
5
Kotlin
0
1
c038b9f8ad190a531298144c8a744519d1e08967
2,240
mail-it
MIT License
app/src/main/java/tech/ascendio/mvvm/data/api/Response.kt
MarianVasilca
134,165,874
false
null
package tech.ascendio.mvvm.data.api data class Response<T>( val data: T, val success: Boolean, val status: Int )
0
Kotlin
0
0
6c811396291caab2e198fe7ee0452e644101bb25
137
android-mvvm-imgur-browser
Apache License 2.0
linea/src/commonMain/kotlin/compose/icons/lineaicons/basicelaboration/FolderNote.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineaicons.basicelaboration import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.co...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,479
compose-icons
MIT License
plugin-unity-agent/src/test/kotlin/jetbrains/buildServer/unity/detectors/UnityDetectorTest.kt
JetBrains
159,985,216
false
{"Kotlin": 255626, "ANTLR": 53548, "Java": 28778, "C#": 4090, "Shell": 2924, "Batchfile": 1180}
package jetbrains.buildServer.unity.detectors import com.intellij.openapi.util.TCSystemInfo import org.testng.SkipException import kotlin.test.Test class UnityDetectorTest { @Test fun `print found installations`() { val detector = when { TCSystemInfo.isWindows -> WindowsUnityDetector(PE...
27
Kotlin
38
80
87cd9d6a8e5e466e15ef022f9f468348d9295f15
752
teamcity-unity-plugin
Apache License 2.0
test_runner/src/main/kotlin/ftl/client/google/TestOutcomeContext.kt
Flank
84,221,974
false
null
package ftl.client.google import com.google.api.services.toolresults.model.Environment import com.google.api.services.toolresults.model.Outcome import com.google.api.services.toolresults.model.Step import com.google.common.annotations.VisibleForTesting import com.google.testing.model.ToolResultsExecution import flank....
64
null
119
676
b40904b4e74a670cf72ee53dc666fc3a801e7a95
3,604
flank
Apache License 2.0
feature/movie/src/main/kotlin/com/azizutku/movie/feature/movie/data/repository/datasourceImpl/MovieLocalDataSourceImpl.kt
azizutku
579,143,942
false
{"Kotlin": 265966, "Shell": 647}
package com.azizutku.movie.feature.movie.data.repository.datasourceImpl import com.azizutku.movie.core.database.model.MovieEntity import com.azizutku.movie.feature.movie.data.repository.datasource.MovieLocalDataSource import javax.inject.Inject class MovieLocalDataSourceImpl @Inject constructor( private val movie...
0
Kotlin
4
36
d6e8a01a41d1f61fc1b233cb32e17505c0707a20
686
Modular-Clean-Arch-Movie-App
MIT License
app/src/main/java/com/pmprogramms/weatherapp/repository/Repository.kt
PatrykMCoder
425,520,999
false
{"Kotlin": 29376}
package com.pmprogramms.weatherapp.repository import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.pmprogramms.weatherapp.api.ApiService import com.pmprogramms.weatherapp.model.WeatherModel import com.pmprogramms.weatherapp.model.WeatherWithListModel import retrofit2.Call import retr...
2
Kotlin
0
0
1f14c6e358c4a4727402c55d2086aafa44e0bdf0
2,029
WeatherApp
MIT License
fns-sidecars/hl7-file-sink/src/main/kotlin/gov/cdc/dataexchange/FunctionConfig.kt
CDCgov
510,836,864
false
{"Kotlin": 694547, "Scala": 208820, "Python": 44391, "Java": 17996, "Batchfile": 11894, "Go": 8661, "JavaScript": 7609, "Groovy": 4230, "HTML": 2177, "Shell": 1362, "CSS": 979}
package gov.cdc.dataexchange import org.slf4j.LoggerFactory import kotlin.system.exitProcess class FunctionConfig { val blobStorageContainerName: String val azureBlobProxy: AzureBlobProxy val blobStorageFolderName: String private var logger = LoggerFactory.getLogger(Function::class.java.simpleName) ...
121
Kotlin
14
9
dccefbb2c3cabc5170d09f9cc20f66792af179b6
1,213
data-exchange-hl7
Apache License 2.0
src/main/kotlin/com/parmet/squashlambdas/activity/Clinic.kt
andrewparmet
126,748,117
false
{"Kotlin": 122902}
package com.parmet.squashlambdas.activity import com.parmet.squashlambdas.email.EmailData import java.time.Instant data class Clinic( override val court: Court, override val start: Instant, override val end: Instant, override val origin: String ) : AbstractActivity() { override fun summary() = ...
0
Kotlin
1
3
3d1079b8856c69cc0b9f966b86a41b1f2ccce919
696
squash-lambdas
Apache License 2.0
fontawesome/src/de/msrd0/fontawesome/icons/FA_PERSON_CIRCLE_XMARK.kt
msrd0
363,665,023
false
{"Kotlin": 3912511, "Jinja": 2214}
/* @generated * * This file is part of the FontAwesome Kotlin library. * https://github.com/msrd0/fontawesome-kt * * This library is not affiliated with FontAwesome. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
0
Kotlin
0
0
ee6a62d201fd5df2555859271cb0c6a7ee887e7a
2,273
fontawesome-kt
Apache License 2.0
samples/sample/desktop/src/commonMain/kotlin/com/hoc081098/solivagant/sample/main.kt
hoc081098
736,617,487
false
null
package com.hoc081098.solivagant.sample import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.runtime.Composable import androidx.compose.ui.window.Window import androidx.compose.ui.window.application import androidx.compose.ui.window.rememberWindowState import com.hoc081098.solivagant.life...
6
null
3
63
d6a43c15688f94dce405b0a164ce034b7817846e
1,756
solivagant
Apache License 2.0
src/main/kotlin/convention/android/internal/Accessors.kt
Kt-Kraft
868,423,800
false
{"Kotlin": 60072, "Shell": 82}
package convention.android.internal import com.android.build.api.dsl.CommonExtension import com.android.build.api.variant.AndroidComponentsExtension import org.gradle.api.Project // For setup CommonExtension, LibraryExtension, and ApplicationExtension internal fun <T : CommonExtension<*, *, *, *, *, *>> Project.andro...
0
Kotlin
0
0
944cb7d03b754ef15b86ed5b7d8f21d7adbe9226
617
build-logic
MIT License
src/test/kotlin/com/github/solairerove/algs4/leprosorium/hash_table/DesignHashSetTest.kt
solairerove
282,922,172
false
{"Kotlin": 251919}
package com.github.solairerove.algs4.leprosorium.hash_table import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe class DesignHashSetTest : FunSpec({ test("design hash set basic test") { val hs = MyHashSet() hs.add(1) hs.add(2) hs.contains(2) shouldBe true ...
1
Kotlin
0
3
64c1acb0c0d54b031e4b2e539b3bc70710137578
948
algs4-leprosorium
MIT License
src/main/kotlin/models/ModerationRequest.kt
jrasmuson
96,380,647
false
null
package models data class ModerationRequest( val hostname: String, val imageUrl: String)
2
Kotlin
0
0
efb8be8ed119ef01cbc24d453bbac385ca8a46a6
105
Shaphat
Apache License 2.0
app/src/main/java/com/codehangouts/newsfeed/ui/main/MainActivity.kt
amritlalsahu5
253,586,491
false
null
package com.codehangouts.newsfeed.ui.main import androidx.lifecycle.ViewModelProvider import com.codehangouts.newsfeed.BR import com.codehangouts.newsfeed.R import com.codehangouts.newsfeed.ViewModelProviderFactory import com.codehangouts.newsfeed.databinding.ActivityMainBinding import com.codehangouts.newsfeed.ui.bas...
0
Kotlin
0
0
f0eff277b3d09c7b0346ad22de58f1eb7196bd2a
828
NYTimesNewsKotlin
Apache License 2.0
ScalerAndroidPlugin/src/main/kotlin/dev/danperez/sgp/ScalerVersionCatalog.kt
danielPerez97
711,319,077
false
{"Kotlin": 57230}
package dev.danperez.sgp import org.gradle.api.artifacts.MinimalExternalModuleDependency import org.gradle.api.artifacts.VersionCatalog import org.gradle.api.artifacts.VersionConstraint import org.gradle.api.provider.Provider import org.gradle.plugin.use.PluginDependency import kotlin.jvm.optionals.getOrNull class Sc...
0
Kotlin
0
5
aeaecbd39863e6f45b051d1772d4e8d642e684ce
3,402
Scaler
Apache License 2.0
app/src/main/java/de/luki2811/dev/vokabeltrainer/ui/practice/PracticeMistakesFragment.kt
Luki2811
406,474,205
false
null
package de.luki2811.dev.vokabeltrainer.ui.practice import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.navigation.fragment.findNavController import androidx.navigation.fragment.navArgs import androidx.r...
0
Kotlin
0
0
9d3efe6eee2bb7e6c7f3e6648c65d6da88039401
1,561
VokabelTrainer
Apache License 2.0
commons/src/main/kotlin/de/d3adspace/mercantor/commons/model/HeartbeatModel.kt
felixklauke
105,438,332
false
null
package de.d3adspace.mercantor.commons.model import java.util.* /** * @author <NAME> <<EMAIL>> */ data class HeartbeatModel(val status: ServiceStatus, val instanceId: UUID)
7
Kotlin
0
2
cf701e51a9e90f95466250a27eb29d94b0866d8e
203
mercantor
MIT License
src/test/enhetstester/kotlin/no/nav/familie/ks/sak/cucumber/OppdragSteg.kt
navikt
533,308,075
false
null
package no.nav.familie.ks.sak.cucumber import io.cucumber.datatable.DataTable import io.cucumber.java.no.Gitt import io.cucumber.java.no.Når import io.cucumber.java.no.Så import no.nav.familie.felles.utbetalingsgenerator.domain.BeregnetUtbetalingsoppdragLongId import no.nav.familie.felles.utbetalingsgenerator.domain.I...
4
null
1
2
123e85b9196dfa1dd2fd7d5caf7387ca0eb4ad07
10,506
familie-ks-sak
MIT License
app/src/main/java/com/uszkaisandor/mvvmnewsapp/features/breakingnews/BreakingNewsFragment.kt
uszkaisandor
452,427,609
false
null
package com.uszkaisandor.mvvmnewsapp.features.breakingnews import android.content.Intent import android.net.Uri import android.os.Bundle import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import androidx.core.view.isVisible import androidx.fragment.app.Fragm...
0
Kotlin
0
0
ab78e9ca40784c5c2ecc221abe035c2fce93f099
5,183
mealdeas-android
Apache License 2.0
src/jvmMain/kotlin/matt/model/code/jpy/jpy.kt
mgroth0
532,381,019
false
null
package matt.model.code.jpy enum class OexpExitSocketHeaders { EXIT } enum class OexpSocketHeaders { EXIT, SET_EXIT_PORT, CALL_GLOBAL_FUN, CREATE_OBJECT, INIT_OBJECT, CHECK_EQUALITY, STR, CALL_FUN, GET_JSON, GET_VAL, SET_VAR, GC }
0
Kotlin
0
0
987d6657aa071d141327b83c1ebd735be3c11c35
287
model
MIT License
core/src/commonMain/kotlin/maryk/core/query/filters/Or.kt
marykdb
290,454,412
false
null
package maryk.core.query.filters import maryk.core.models.QueryDataModel import maryk.core.properties.ObjectPropertyDefinitions import maryk.core.properties.definitions.InternalMultiTypeDefinition import maryk.core.properties.definitions.list import maryk.core.properties.types.TypedValue import maryk.core.query.Reques...
0
Kotlin
0
6
2db4430b9d05f6f25ffc8d7d79a637a50bd73390
2,259
maryk
Apache License 2.0
api/src/jvmMain/kotlin/com/giancarlobuenaflor/kflogger/backend/KLoggerBackend.jvm.kt
buenaflor
643,587,989
false
null
package com.giancarlobuenaflor.kflogger.backend public actual typealias KLoggerBackend = LoggerBackend
1
null
2
11
10e12f04ea357d502cd94ccf1328cc8eb631b7b8
104
KFlogger
Apache License 2.0
src/main/kotlin/com/atlassian/performance/tools/aws/ami/AmiImage.kt
atlassian-labs
314,701,354
false
{"Kotlin": 143957}
package com.atlassian.performance.tools.aws.ami import com.amazonaws.services.ec2.AmazonEC2 import com.amazonaws.services.ec2.model.DeregisterImageRequest import com.amazonaws.services.ec2.model.Image import com.atlassian.performance.tools.aws.api.Investment import com.atlassian.performance.tools.aws.api.Resource impo...
0
Kotlin
1
2
4caa2b2acd054e38c463effe399a1c1dc9ab3040
852
aws-resources
Apache License 2.0
app/src/main/java/com/example/littlelemon/MenuScreen.kt
danilosoarespinheiro
842,953,657
false
{"Kotlin": 15912}
package com.example.littlelemon import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding ...
0
Kotlin
0
0
c88c71863ef91e0cfed2269e5039830135ebd28d
5,314
c-little-lemon-food-compose-tabbednavigation
MIT License
compiler/testData/ir/interpreter/helpers/Ranges.kt
JetBrains
3,432,266
false
null
@file:kotlin.jvm.JvmMultifileClass @file:kotlin.jvm.JvmName("RangesKt") package kotlin.ranges public infix fun Int.until(to: Byte): IntRange { return this .. (to.toInt() - 1).toInt() } public infix fun Long.until(to: Byte): LongRange { return this .. (to.toLong() - 1).toLong() } public infix fun Byte.until(to...
157
Kotlin
5209
42,102
65f712ab2d54e34c5b02ffa3ca8c659740277133
2,173
kotlin
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/FolderShare.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,744
compose-icon-collections
MIT License
app/src/test/java/com/duckduckgo/app/browser/useragent/UserAgentProviderTest.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2022 DuckDuckGo * * 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 ...
49
null
847
3,198
be3bcd0ff64a25d9732b72a618c27accce467a5a
15,399
Android
Apache License 2.0
editor/src/main/com/mbrlabs/mundus/editor/utils/TestUtils.kt
mbrlabs
48,520,201
false
null
/* * Copyright (c) 2016. See AUTHORS file. * * 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 o...
7
null
40
200
d3fb804aa780ad95575846b8b9f3b15b6bc9cbe3
1,649
Mundus
Apache License 2.0
plugins/api/src/main/kotlin/org/rsmod/plugins/api/cache/type/ui/InterfaceTypeList.kt
rsmod
293,875,986
false
null
package org.rsmod.plugins.api.cache.type.ui import org.rsmod.game.cache.type.CacheTypeList import org.rsmod.game.model.ui.type.InterfaceType typealias InterfaceTypeList = CacheTypeList<InterfaceType>
0
Kotlin
53
50
089dede92254ed70d828e2c4d18cf2d5441b3f2a
202
rsmod
ISC License
src/main/kotlin/coverosR3z/authentication/exceptions/UnpermittedOperationException.kt
7ep
269,398,431
false
null
package coverosR3z.authentication.exceptions /** * This exception will be thrown when something is attempted * which the [coverosR3z.authentication.types.CurrentUser] has * no authorization to do */ class UnpermittedOperationException(msg: String) : Exception(msg)
0
Kotlin
5
9
0c132ef0d0646d2137f39d4555b50010907b57df
270
r3z
MIT License
libraries/utils/src/main/java/teamcityapp/libraries/utils/DrawableUtils.kt
vase4kin
68,111,887
false
{"Gradle": 29, "JSON": 2, "Java Properties": 2, "Markdown": 6, "Shell": 1, "Ignore List": 26, "Batchfile": 1, "Text": 1, "YAML": 5, "INI": 24, "Proguard": 25, "XML": 228, "Java": 33, "Kotlin": 580, "HTML": 1, "Gradle Kotlin DSL": 1}
/* * Copyright 2019 <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 wri...
0
Kotlin
11
52
9abb1ed56c127d64679124c38d30b0014ec024de
1,386
TeamCityApp
Apache License 2.0
examples/primitives/kotlin/src/main/java/com/examples/containers/map.kt
PicsArt
501,249,953
false
{"Python": 496481, "C++": 20882, "C": 3373, "Kotlin": 1546, "Swift": 1149, "Starlark": 315}
/** * ______ .______ .______ .______ __ .__ __. _______ * / || _ \ | _ \ | _ \ | | | \ | | | \ * | ,----'| |_) | | |_) | | |_) | | | | \| | | .--. | * | | | ___/ | ___/ | _ < | | | . ` | | | | | * | `----.| | | | | |_) | | ...
2
Python
3
22
fa13247662d0651d8f398a5f66d471a2a2bd747c
13,232
cppbind
MIT License
framework/src/main/kotlin/com/djangoogle/framework/manager/LruBitmapCacheManager.kt
Akimeite
183,869,793
false
null
package com.djangoogle.framework.manager import android.graphics.Bitmap import com.blankj.utilcode.util.LogUtils /** * Bitmap内存缓存管理器 * Created by Djangoogle on 2018/11/30 09:07 with Android Studio. */ class LruBitmapCacheManager private constructor() { companion object { val INSTANCE: LruBitmapCacheManager by ...
0
null
4
111
8ed585a845d0092d76fbc6cfcd24a7a5cd9b6352
2,253
AndroidModule
Apache License 2.0
app/src/main/java/com/breezelinktelecom/features/viewAllOrder/interf/GenderListOnClick.kt
DebashisINT
855,015,502
false
{"Kotlin": 15739075, "Java": 1026627}
package com.breezefieldsalesmmhg.features.viewAllOrder.interf import com.breezefieldsalesmmhg.app.domain.NewOrderGenderEntity interface GenderListOnClick { fun genderListOnClick(gender: NewOrderGenderEntity) }
0
Kotlin
0
0
6b0e10f53cfab02f3790b9064bd705ee3dc87fef
215
MMHG
Apache License 2.0
src/main/kotlin/io/cutebot/memegen/web/GenerateResource.kt
asundukov
279,358,764
false
null
package io.cutebot.memegen.web import io.cutebot.memegen.service.ImageGenerator import io.cutebot.memegen.service.bot.InlineHandler import io.cutebot.memegen.web.exception.NotFoundWebException import org.slf4j.LoggerFactory import org.springframework.http.MediaType import org.springframework.http.ResponseEntity import...
9
Kotlin
0
0
8857492eb3409bd124979aea7f8acb572c1c314f
2,230
meme-gen-bot
Apache License 2.0
rooting/src/main/kotlin/com/kevlar/rooting/attestator/StatusAttestator.kt
kevlar-kt
468,138,363
false
{"Kotlin": 213285, "Shell": 3108}
/* * Designed and developed by Kevlar Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
0
Kotlin
2
70
893012a184562ce0220e4c023acddb088e8854fb
4,425
kevlar
Apache License 2.0
src/main/kotlin/com/helltar/twitchviewerbot/commands/commands/StartCommand.kt
Helltar
580,061,642
false
{"Kotlin": 50287}
package com.helltar.twitchviewerbot.commands.commands import com.annimon.tgbotsmodule.commands.context.MessageContext import com.helltar.twitchviewerbot.Strings import com.helltar.twitchviewerbot.commands.BotCommand class StartCommand(ctx: MessageContext) : BotCommand(ctx) { override fun run() { replyToM...
0
Kotlin
0
5
c9cdcaef6b5d06f393a2e62bb864c47fa37004d7
379
twitchviewer_bot
MIT License
feature/stocks/src/main/kotlin/br/com/stonks/feature/stocks/repository/remote/response/StockAlertResponse.kt
jonathanarodr
792,544,529
false
{"Kotlin": 189661, "Shell": 832}
package br.com.stonks.feature.stocks.repository.remote.response import com.google.gson.annotations.SerializedName internal data class StockAlertResponse( @SerializedName("id") val id: Long, @SerializedName("stock_ticket") val stockTicket: String, @SerializedName("alert_value") val alertValue: ...
0
Kotlin
0
0
3303211e4ad5bde4dd4f2a00685884568a5eaeec
465
stonks
MIT License
app/src/androidTest/java/com/duckduckgo/app/notification/NotificationHandlerServiceTest.kt
hojat72elect
822,396,044
false
{"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.app.notification import android.content.Intent import android.os.Bundle import androidx.test.platform.app.InstrumentationRegistry import com.duckduckgo.app.notification.model.Channel import com.duckduckgo.app.notification.model.NotificationSpec import com.duckduckgo.app.notification.model.Sche...
0
Kotlin
0
0
54351d039b85138a85cbfc7fc3bd5bc53637559f
4,011
DuckDuckGo
Apache License 2.0
app/src/main/java/com/etasdemir/ethinspector/data/remote/dto/etherscan/TokenTransferResponse.kt
etasdemir
584,191,764
false
{"Kotlin": 265672}
package com.etasdemir.ethinspector.data.remote.dto.etherscan import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class TokenTransferResponse ( val blockNumber: String, val timeStamp: String, val hash: String, val blockHash: String, val from: String, val contractAddress:...
0
Kotlin
0
4
753c16ebcb2973bdef76078bb391792892187826
567
eth-inspector
MIT License
ktor-server/ktor-server-plugins/ktor-server-sessions/common/src/io/ktor/server/sessions/CacheStorage.kt
ktorio
40,136,600
false
null
/* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.server.sessions /** * A caching storage for sessions. */ public class CacheStorage( public val delegate: SessionStorage, idleTimeout: Long, ) : SessionStorage { ...
158
null
1051
12,926
f90f2edf11caca28a61dbe9973faae64c17a2842
982
ktor
Apache License 2.0
app/src/main/java/com/example/newsanchor/helpers/AppGlideModule.kt
PrihanNimsara
219,806,020
false
null
package com.example.newsanchor.helpers import com.bumptech.glide.annotation.GlideModule import com.bumptech.glide.module.AppGlideModule /** * Created by <NAME> on 2019-11-06. */ @GlideModule class AppGlideModule : AppGlideModule()
0
Kotlin
0
0
cff1cfd23f82d876e379d7d4cc9767acca595101
233
News_Anchor
Apache License 2.0
library-data/src/test/java/com/oheyadam/library/data/usecase/GetStoryCommentsTest.kt
oheyadam
532,591,833
false
{"Kotlin": 84161}
package com.oheyadam.library.data.usecase import com.google.common.truth.Truth.assertThat import com.oheyadam.core.common.network.Result import com.oheyadam.core.testing.model.domain.COMMENT_1 import com.oheyadam.core.testing.model.domain.COMMENT_2 import com.oheyadam.core.testing.model.domain.COMMENT_3 import com.ohe...
0
Kotlin
0
0
5c81ff612c281d1f2f57bc3aafc3db828891534e
1,653
Home
Apache License 2.0
app/common/src/main/kotlin/me/zhanghai/android/files/file/JavaFile.kt
overphoenix
621,371,055
false
null
package me.zhanghai.android.files.file import java.io.File object JavaFile { fun isDirectory(path: String): Boolean = File(path).isDirectory fun getFreeSpace(path: String): Long = File(path).freeSpace fun getTotalSpace(path: String): Long = File(path).totalSpace }
0
Kotlin
0
0
64264f261c2138d5f1932789702661917bbfae28
281
phoenix-android
Apache License 2.0
app/src/main/java/me/tasy5kg/cutegif/Toolbox.kt
tasy5kg
517,013,281
false
null
package me.tasy5kg.cutegif import android.annotation.SuppressLint import android.app.Activity import android.content.* import android.content.res.ColorStateList import android.content.res.Resources import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Color import android.icu.tex...
0
Kotlin
3
37
0fcdf5d55ba71fcfd8d4ab5c4fc0212950eab33c
20,709
CuteGIF
Apache License 2.0
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/demos/V2ScaffoldActivity.kt
microsoft
257,221,908
false
null
package com.microsoft.fluentuidemo.demos import android.content.Context import android.os.Bundle import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material.icons.Icons import androidx.compose.material.icons.fi...
43
null
97
574
851a4989a4fce5db50a1818aa4121538c1fb4ad9
11,614
fluentui-android
MIT License
sam-java-core/src/test/kotlin/software/elborai/api/models/InboundMailItemListTest.kt
DefinitelyATestOrg
787,029,081
false
{"Kotlin": 13368521, "Shell": 3638, "Dockerfile": 366}
// File generated from our OpenAPI spec by Stainless. package software.elborai.api.models import java.time.OffsetDateTime import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class InboundMailItemListTest { @Test fun createInboundMailItemList() { val inboundMailItemLis...
1
Kotlin
0
0
896c77d132ececb8926a3b29f08ea09c98355ecd
2,841
sam-java
Apache License 2.0
IntroductionToComposeForTV/app/src/main/java/com/example/tvcomposeintroduction/MainActivity.kt
android
635,465,446
false
null
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
Kotlin
0
2
93eb2e16716d407b19d8f00605406e7d6f1a8ade
4,615
tv-codelabs
Apache License 2.0
framework/core/src/commonMain/kotlin/dev/ahmedmourad/validation/core/validations/ComparableValidations.kt
AhmedMourad0
294,846,260
false
null
package dev.ahmedmourad.validation.core.validations import dev.ahmedmourad.validation.core.Constraint inline fun <DT : Comparable<DT>> Constraint<DT>.min( crossinline min: (DT) -> DT ) = validation { subject >= min(subject) } fun <DT : Comparable<DT>> Constraint<DT>.min(min: DT) = validation { subject >=...
0
Kotlin
0
4
6f25a7110d4ebb016c1c6719a43a49757c6abdbf
1,779
kotlin-validation
Apache License 2.0
skellig-feature/src/main/kotlin/org/skellig/feature/hook/SkelligTestHooksRegistry.kt
skellig-framework
263,021,995
false
{"Kotlin": 922353, "CSS": 525991, "Java": 270216, "FreeMarker": 63629, "HTML": 11313, "ANTLR": 6165}
package org.skellig.feature.hook interface SkelligTestHooksRegistry { fun getByTags(hookType: Class<*>, tags: Set<String>?): Collection<SkelligHook> fun getHooks(): Collection<SkelligHook> }
6
Kotlin
0
2
61e801c7d72ca26bcda8c9c69d60c87a906c2f47
201
skellig-core
Apache License 2.0
src/main/kotlin/com/github/gbrowser/util/GBrowserUtil.kt
edgafner
294,787,892
false
null
package com.github.gbrowser.util import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.CommonDataKeys import com.intellij.openapi.editor.EditorKind import com.intellij.openapi.util.registry.Registry import okhttp3.OkHttpClient import okhttp3.Request import java.util.regex.Patt...
17
null
18
75
743b15830ac0dafbed6d4ce7180d34be9458cf9f
2,305
GBrowser
Apache License 2.0
musicasBD/src/main/kotlin/br/com/alura/musicasBD/dados/BandaEntity.kt
FernandoLink
670,308,529
false
{"Kotlin": 83391}
package br.com.alura.musicasBD.dados import javax.persistence.* @Entity @Table(name="bandas") class BandaEntity( val nome: String = "Nome da banda", val descricao: String = "Descrição da banda", @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Int = 0, )
0
Kotlin
0
0
b509647443678675e7f7b16d8ca127b05dc0445c
291
kotlin
MIT License
app/src/main/java/info/degirona/creativelab/ui/theme/Theme.kt
manuel-martos
576,757,261
false
null
package info.degirona.creativelab.ui.theme import androidx.compose.material3.MaterialTheme import androidx.compose.material3.darkColorScheme import androidx.compose.material3.lightColorScheme import androidx.compose.runtime.Composable import androidx.compose.runtime.SideEffect import androidx.compose.ui.graphics.Color...
0
null
5
98
80ab274cbd87b864da95fa22cb623628d77fa848
1,683
creative-lab
MIT License
app/src/main/java/com/yudistudios/foodland/ui/adapters/ListOrdersRecyclerViewAdapter.kt
YnsDlbr
576,026,021
false
null
package com.yudistudios.foodland.ui.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.yudistudios.foodland.databinding.ItemOrderBinding import com.yudistudios.foodland.models.Order import java.text.SimpleDateFormat import java.util.* ...
0
Kotlin
0
0
d6710e873f9fc3c0c374e77dc96e44ba98a52ef0
1,687
FoodLand
Apache License 2.0
java/HaHelperLib/src/main/kotlin/com/bast/quinn/hahelper/state/LeaderStateMutable.kt
QuinnBast
540,279,065
false
{"Kotlin": 18457, "CSS": 2559, "JavaScript": 1309, "Vue": 1074, "HTML": 331}
package com.bast.quinn.hahelper.state import com.bast.quinn.hahelper.grpc.leader.ElectionState import com.bast.quinn.hahelper.grpc.leader.RaftState import java.util.* class LeaderStateMutable( private val clusterId: Int, private val memberId: String, private var electionTerm: Long = 0L, var leaderId: ...
0
Kotlin
0
2
ff76450f8a627a74dbf82a98941f3c584ee33bea
1,962
HaHelper
Apache License 2.0
library/src/main/java/com/spendesk/grapes/component/content/summary/block/definition/SummaryBlockView.kt
Spendesk
364,042,096
false
{"Kotlin": 627129}
package com.spendesk.grapes.component.content.summary.block.definition import android.content.Context import android.util.AttributeSet import androidx.cardview.widget.CardView import com.spendesk.grapes.R /** * Base class for any view that is a block inside a summary screen. * * @author <NAME> * @since 06/01/2021...
1
Kotlin
5
9
88c6030853296694fe136532d021239919974cdb
1,505
grapes-android
Apache License 2.0
app/src/main/java/com/example/weatherforecast/domain/model/Place.kt
11yaman
724,577,984
false
{"Kotlin": 48284}
package com.example.weatherforecast.domain.model data class Place( val latitude: Float, val longitude: Float, val name: String, val country: String, val displayName: String? = null, )
0
Kotlin
0
0
0cd450681f821671fa6e7275086a291acedfae98
204
WeatherForecast
MIT License
core/src/main/java/com/chooongg/form/provider/FormRatingProvider.kt
Chooongg
706,083,573
false
{"Kotlin": 437777}
package com.chooongg.form.provider import android.content.res.ColorStateList import android.graphics.Color import android.view.Gravity import android.view.View import android.view.ViewGroup import android.view.ViewGroup.MarginLayoutParams import android.widget.FrameLayout import androidx.appcompat.widget.AppCompatRati...
0
Kotlin
0
1
92e4d381de8a4e89fe425cbd0c9201f88736a064
3,433
FormAdapter
Apache License 2.0
src/commonMain/kotlin/org/kosat/heuristics/PriorityQueue.kt
breandan
245,074,037
false
{"Kotlin": 1470433, "Haskell": 744, "OCaml": 200}
package org.kosat.heuristics import org.kosat.swap class PriorityQueue(val activity: MutableList<Double>) { // stores max-heap built on variable activities (contains variables) val heap: MutableList<Int> = mutableListOf() // for each variable contains index with it position in heap val index: Mutable...
0
Kotlin
8
98
239d016004b6591439f53a597a7a108c38f1dce8
3,854
galoisenne
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/midi/MIDIConnectionEvent.types.kt
karakum-team
393,199,102
false
{"Kotlin": 6214094}
// Automatically generated - do not modify! package web.midi import seskar.js.JsValue import web.events.EventTarget import web.events.EventType sealed external class MIDIConnectionEventTypes { @JsValue("statechange") fun <C : EventTarget> stateChange(): EventType<MIDIConnectionEvent, C> }
0
Kotlin
7
35
ac6d96e24eb8d07539990dc2d88cbe85aa811312
302
types-kotlin
Apache License 2.0
src/main/kotlin/chapter2/sec3/listing.kt
DavidGomesh
680,857,367
false
{"Kotlin": 204685}
package chapter2.sec3 val listing1 = { //tag::init1[] fun <A, B, C> partial1(a: A, f: (A, B) -> C): (B) -> C = TODO() //end::init1[] } val listing2 = { //tag::init2[] fun <A, B, C> partial1(a: A, f: (A, B) -> C): (B) -> C = { b: B -> TODO() } //end::init2[] } val listing3 = { //ta...
0
Kotlin
0
0
41fd131cd5049cbafce8efff044bc00d8acddebd
585
fp-kotlin
MIT License
src/main/java/pw/mihou/nexus/features/command/core/NexusCommandDispatcher.kt
ShindouMihou
455,037,013
false
{"Kotlin": 183571, "Java": 97270}
package pw.mihou.nexus.features.command.core import org.javacord.api.event.interaction.SlashCommandCreateEvent import org.javacord.api.util.logging.ExceptionLogger import pw.mihou.nexus.Nexus import pw.mihou.nexus.Nexus.globalAfterwares import pw.mihou.nexus.Nexus.globalMiddlewares import pw.mihou.nexus.Nexus.logger i...
2
Kotlin
1
8
edee42109bae59bb1a6c3519215240e174a0fac1
5,595
Nexus
Apache License 2.0
src/test/kotlin/utils/TimeUtilTest.kt
YongHsiangHsieh
716,298,159
false
{"Kotlin": 79722}
package utils import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.time.LocalDate class TimeUtilTest { @Test fun `getCurrentMonthAsInt returns correct month for January`() { val testDate = LocalDate.of(2021, 1, 1) // January 1, 2021 assertEquals(1...
0
Kotlin
0
0
923bd5bb01abc6ee5ab595ab0d153a932fb891b9
809
Smart-Wardrob
MIT License
presentation/src/main/kotlin/com/aliasadi/clean/ui/theme/AppColor.kt
AliAsadi
264,456,753
false
{"Kotlin": 167332}
package com.aliasadi.clean.ui.theme import androidx.compose.ui.graphics.Color object AppColor { val GrayB3 = Color(0xFFB4B3B3) val LightGrayD3 = Color(0xFFD6D6D6) val DarkGrayD3 = Color(0xFF787878) val RedC1 = Color(0xFFC1071E) val RedEF = Color(0xFFEF525E) }
0
Kotlin
45
358
d9c57d2c91b75d08c4741ac62caebfde1dd8b77e
281
Android-Clean-Architecture
Apache License 2.0
wear/src/main/java/com/vlad1m1r/watchface/settings/base/viewholders/WatchPreviewViewHolder.kt
VladimirWrites
153,897,525
false
null
package com.vlad1m1r.watchface.settings.base.viewholders import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.vlad1m1r.watchface.R import com.vlad1m1r.watchface.model.Point import com.vlad1m1r.watchface.settings.base.Watch...
1
Kotlin
15
64
519369831e4bf865b3f03cc8fbca25ff3aadbfe4
806
AnalogWatchFace
Apache License 2.0
AllInOne/app/src/main/java/vancore/all_in_one/content/data/ContentType.kt
Vancore
337,810,195
false
null
package vancore.all_in_one.content.data enum class ContentType { MyGame, FiveSkills, Type3, Type4 }
0
Kotlin
0
0
d3ce5eeb339fea89a5021f1722b397519d2f46ee
116
Playground
Apache License 2.0
app/src/main/java/com/ahmetroid/popularmovies/detail/DetailViewModel.kt
ahmetturk
239,481,816
false
null
package com.ahmetroid.popularmovies.detail import android.content.res.Resources import androidx.lifecycle.* import com.ahmetroid.popularmovies.R import com.ahmetroid.popularmovies.base.BaseViewModel import com.ahmetroid.popularmovies.data.Repository import com.ahmetroid.popularmovies.data.model.Movie import com.ahmetr...
0
Kotlin
0
1
a3d5dd777af78bf67117aa47041d5cca34938c9a
1,786
Sinemate
Apache License 2.0
app/src/main/java/com/nafanya/mp3world/core/utils/ViewExtensions.kt
AlexSoWhite
445,900,000
false
null
package com.nafanya.mp3world.core.utils import android.content.res.Resources fun Int.dpToPx(): Int = (this / Resources.getSystem().displayMetrics.density).toInt()
0
Kotlin
0
0
3b7fedac5777a6c41cdfafaab652f67b1b558983
165
mp3world
MIT License