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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
service/src/main/kotlin/justinb99/kotlinapipoc/service/model/Widget.kt | justinb99 | 300,931,541 | false | null | package justinb99.kotlinapipoc.service.model
import java.math.BigDecimal
data class Widget(
val id: Int,
val name: String,
val price: BigDecimal,
val quantityAvailable: Int
)
| 0 | Kotlin | 0 | 0 | fc81e8779b4b975e4216bc51746136218dbbfce2 | 193 | kotlin-api-poc | Apache License 2.0 |
example/src/main/kotlin/App.kt | zeldigas | 94,209,042 | false | {"Maven POM": 4, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 6, "Java": 1, "Shell": 1, "XML": 1} | package com.github.zeldigas.awsasync.example
import com.amazonaws.ClientConfiguration
import com.amazonaws.auth.DefaultAWSCredentialsProviderChain
import com.amazonaws.metrics.RequestMetricCollector
import com.amazonaws.regions.Region
import com.amazonaws.regions.Regions
import com.amazonaws.services.dynamodbv2.model.... | 0 | Kotlin | 0 | 2 | 8190ae10718c43279568482f9cd4135bc45f894e | 1,525 | aws-sdk-non-blocking | Apache License 2.0 |
big-brother/src/main/kotlin/com/github/solairerove/jazz/robots/application/dto/config/ProlesTaskConfigurationRequest.kt | solairerove | 113,327,945 | false | null | package com.github.solairerove.jazz.robots.application.dto.config
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
import com.github.solairerove.jazz.robots.domain.model.action.ProlesAction
import com.github.sola... | 6 | Kotlin | 0 | 0 | 71b35361e30bf65f3f4c0f4d91d2869e59a65651 | 740 | jazz-robots | Apache License 2.0 |
android/app/src/main/java/com/example/clockwork/ui/components/ShiftBreakTracker.kt | jonMueller-clockwork | 867,044,088 | false | {"Kotlin": 39711, "TypeScript": 8267, "Java": 7518, "CSS": 1745, "JavaScript": 436, "HTML": 366} | package com.example.clockwork.ui.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.fou... | 0 | Kotlin | 0 | 0 | 4252333a9617acbe6002d4c347fdf10278a804c1 | 5,210 | clockwork1 | MIT No Attribution |
src/jsMain/kotlin/baaahs/app/ui/controls/VisualizerControlView.kt | baaahs | 174,897,412 | false | {"Kotlin": 3453370, "C": 1529197, "C++": 661363, "GLSL": 404582, "HTML": 55183, "JavaScript": 53132, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.app.ui.controls
import baaahs.app.ui.AppMode
import baaahs.app.ui.appContext
import baaahs.app.ui.preview.ClientPreview
import baaahs.control.OpenVisualizerControl
import baaahs.show.live.ControlProps
import baaahs.ui.*
import baaahs.ui.diagnostics.dmxDiagnostics
import baaahs.ui.diagnostics.patchDiagno... | 107 | Kotlin | 12 | 40 | acdd13a4d34ebdcea0b7452bee6e187954db3fd0 | 5,442 | sparklemotion | MIT License |
app/src/main/java/com/frogobox/kickstart/util/Navigation.kt | kevinmel2000 | 289,824,735 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 48, "XML": 30, "Java": 1} | package com.frogobox.kickstart.util
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import com.frogobox.kickstart.util.helper.ConstHelper.Extra.EXTRA_OPTION
import com.frogobox.kickstart.util.helper.Co... | 1 | null | 1 | 1 | 69ee81fd0856d21cf70c7910da22fbfdac261d08 | 4,142 | android-kick-start-project-template | Apache License 2.0 |
composeApp/src/commonMain/kotlin/uk/ryanwong/gmap2ics/data/datasources/googleapi/interfaces/GoogleApiDataSource.kt | ryanw-mobile | 452,479,934 | false | {"Kotlin": 433501} | /*
* Copyright (c) 2022-2024. <NAME> (<EMAIL>)
*/
package uk.ryanwong.gmap2ics.data.datasources.googleapi.interfaces
import uk.ryanwong.gmap2ics.data.models.places.PlaceDetailsDto
interface GoogleApiDataSource {
suspend fun getMapsApiPlaceDetails(
placeId: String,
apiKey: String,
langua... | 15 | Kotlin | 0 | 26 | 85185f81fbe28380715e453df68e4355d077ec01 | 358 | GMap2ICal | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/sns/CfnSubscriptionPropsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.sns
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.sns.CfnSubscriptionProps
@Generated
public fun buildCfnSubscriptionProps(initializer: @AwsCdkDsl
CfnSubscriptionProps.Builder.() -... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 414 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/gms/app/data/storage/remote/model/auth/GenderModel.kt | YasserAdel564 | 406,843,475 | false | {"Kotlin": 193933} | package com.gms.app.data.storage.remote.model.auth
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "genders")
class GenderModel(
@PrimaryKey()
var id: Int,
var name: String
)
{
override fun toString(): String {
return name
}
}
| 0 | Kotlin | 0 | 0 | 96d69372c3d70597395641c6529d48e0830f4770 | 290 | GMS | MIT License |
app/src/main/java/com/safyah/realtimemap/models/LocationUpdate.kt | bixlabs | 187,088,696 | false | null | package com.safyah.realtimemap.models
data class LocationUpdate(val latitude : Double, val longitude: Double, val uid: String) | 0 | Kotlin | 0 | 0 | 9d7508f25034eaf8a2e2a313889bd2fa84d0eeb8 | 127 | kelvin-kotlin-code-challenge | FSF All Permissive License |
src/main/kotlin/com/example/v1oauthauthorizationservice/infrastructure/user/entity/User.kt | team-xquare | 494,272,840 | false | {"Kotlin": 112225, "Dockerfile": 526, "Shell": 417} | package com.example.v1oauthauthorizationservice.infrastructure.user.entity
import com.example.v1oauthauthorizationservice.infrastructure.user.presentation.dto.response.UserProfileResponse
import jakarta.persistence.*
import org.hibernate.annotations.DynamicUpdate
import java.util.*
@Entity(name = "tbl_user")
@Dynamic... | 1 | Kotlin | 0 | 2 | 62d1c2b5698ecccaab50b8a68fba21bcca6375bb | 1,770 | v1-service-oauth | MIT License |
modules/module-home/src/main/java/com/bbgo/module_home/bean/Tag.kt | bbggo | 371,705,786 | false | null | package com.bytebitx.home.bean
import androidx.annotation.Keep
/**
* @Description:
* @Author: wangyuebin
* @Date: 2021/10/22 9:00 下午
*/
@Keep
data class Tag(
val name: String,
val url: String
) | 3 | null | 3 | 8 | 9c983af26f5bd9cd5e08b7a6080190305738b435 | 207 | WanAndroid | Apache License 2.0 |
app/src/main/java/com/ahmed3elshaer/geosquar/common/models/VenuesRequest.kt | ahmed3elshaer | 217,612,454 | false | null | /*
* *
* * Created by Ahmed Elshaer on 10/26/19 4:17 AM
* * Copyright (c) 2019 . All rights reserved.
* * Last modified 10/25/19 12:27 AM
*
*/
package com.ahmed3elshaer.geosquar.common.models
import retrofit2.http.Query
data class VenuesRequest(
@Query("ll") val coordinates: String,
@Query("radius")... | 0 | Kotlin | 7 | 25 | 0ba53aeb717182a4c3bbde83a6b46a3ad4635246 | 347 | GeoSquar | MIT License |
app/src/main/java/be/digitalia/fosdem/flow/FlowExt.kt | cbeyls | 15,915,146 | false | null | package be.digitalia.fosdem.flow
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.Sha... | 21 | null | 91 | 131 | f66b955988bc5a8d93d7543337d2b2e20d9db402 | 2,526 | fosdem-companion-android | Apache License 2.0 |
eth/abi/src/commonMain/kotlin/kosh/eth/abi/coder/Eip712TypeEncoder.kt | niallkh | 855,100,709 | false | {"Kotlin": 1813876, "Swift": 594} | package kosh.eth.abi.coder
import kosh.eth.abi.Type
internal class Eip712TypeEncoder : Coder {
private var builder: StringBuilder = StringBuilder()
private var arrays = ArrayDeque<UInt?>(0)
private val tuples = mutableMapOf<String, String>()
fun type(): String {
val entries = tuples.entries
... | 0 | Kotlin | 0 | 3 | f48555a563dfee5b07184771a6c94c065765d570 | 3,184 | kosh | MIT License |
src/main/kotlin/org/agoranomic/assessor/decisions/9035-9039.kt | AgoraNomic | 98,589,628 | false | {"Kotlin": 1681717, "HTML": 3937} | package org.agoranomic.assessor.decisions
import org.agoranomic.assessor.dsl.assessment
import org.agoranomic.assessor.dsl.receivers.ai
import org.agoranomic.assessor.dsl.receivers.coauthors
import org.agoranomic.assessor.dsl.receivers.quorum
import org.agoranomic.assessor.dsl.receivers.url
import org.agoranomic.asses... | 0 | Kotlin | 1 | 1 | 4599bda37a691ab971e170c07f1efa214105498a | 7,346 | assessor | MIT License |
src/main/kotlin/com/keygenqt/plugin/extensions/ListenFile.kt | keygenqt | 260,680,880 | false | {"Kotlin": 64490, "Lex": 2075, "Java": 764} | /*
* Copyright 2020 Vitaliy Zarubin
*
* 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... | 0 | Kotlin | 0 | 0 | a88b15a2589099ddd711c0d4fc62f241128787e2 | 1,337 | skill-kotlin-intellij-plugin-gradle | Apache License 2.0 |
core/test/WorldBlockTest.kt | sreich | 28,576,297 | false | null | /**
MIT License
Copyright (c) 2016 <NAME> <<EMAIL>>
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, publi... | 13 | null | 18 | 169 | 44167c43ff5328f1721ab258d9721bbc8187a1ef | 5,490 | ore-infinium | MIT License |
app/src/main/java/ca/uwindsor/calaj/tipster/MainActivity.kt | jasoncala | 453,317,539 | false | null | package ca.uwindsor.calaj.tipster
import android.animation.ArgbEvaluator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.EditText
import android.widget.SeekBar
import android.widget.TextV... | 0 | Kotlin | 0 | 0 | 4e582bb8b50b98c2a0e28d2c8a0718ac84ef8837 | 5,277 | Tipster | Apache License 2.0 |
example/src/main/java/com/paysafe/example/savedcard/FragmentSavedCardCvv.kt | paysafegroup | 768,755,663 | false | {"Kotlin": 693673, "Shell": 912} | /*
* Copyright (c) 2024 Paysafe Group
*/
package com.paysafe.example.savedcard
import android.app.Activity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import androidx.fra... | 0 | Kotlin | 0 | 0 | 9af06851bf04a08b40e1fe3c5432bed2ede2e78c | 8,540 | paysafe_sdk_android_payments_api | MIT License |
integrations/micronaut/src/main/kotlin/io/microkt/kontainers/micronaut/properties/MicronautDataSourcePropertySupplier.kt | microkt | 464,678,346 | false | {"Kotlin": 153658} | package io.microkt.kontainers.micronaut.properties
import io.microkt.kontainers.context.properties.PropertySupplier
import io.microkt.kontainers.domain.JdbcKontainer
import io.microkt.kontainers.domain.Kontainer
/**
* Micronaut [PropertySupplier] for the default datasource.
*
* Populates properties under `datasour... | 3 | Kotlin | 0 | 2 | 1bac86c920f233bd92f26a0cff62222f4e146e5b | 1,112 | kontainers | Apache License 2.0 |
app/src/main/java/com/nirbhay/flappymusketeer/components/Pipes.kt | nirbhayph | 698,438,145 | false | {"Kotlin": 42782} | package com.nirbhay.flappymusketeer.components
import android.util.Log
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.c... | 0 | Kotlin | 1 | 4 | 4017fd88ac506d1c854eddb7edcd8cfcf26b9c0f | 7,036 | flappymusketeer | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/data/puppies/PuppyRepository.kt | deniskrr | 342,274,382 | false | null | /*
* Copyright 2021 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... | 0 | Kotlin | 1 | 0 | 73056140acfe7a0357ee0789b0f019d63dd56790 | 1,043 | puppy-challenge | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/data/puppies/PuppyRepository.kt | deniskrr | 342,274,382 | false | null | /*
* Copyright 2021 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... | 0 | Kotlin | 1 | 0 | 73056140acfe7a0357ee0789b0f019d63dd56790 | 1,043 | puppy-challenge | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/refactorspaces/CfnRouteDefaultRouteInputPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.refactorspaces
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,442 | awscdk-dsl-kotlin | Apache License 2.0 |
src/jsMain/kotlin/org/olafneumann/mahjong/points/ui/controls/TextOverlay.kt | noxone | 586,375,306 | false | {"Kotlin": 143838, "HTML": 15086, "CSS": 5296, "Java": 4417, "Dockerfile": 1747, "Shell": 573} | package org.olafneumann.mahjong.points.ui.controls
import kotlinx.browser.window
import kotlinx.dom.clear
import kotlinx.html.TagConsumer
import kotlinx.html.dom.append
import kotlinx.html.js.div
import kotlinx.html.js.span
import kotlinx.html.role
import kotlinx.html.style
import org.olafneumann.mahjong.points.ui.htm... | 7 | Kotlin | 1 | 3 | 6ca80d00654eaf41424f52b6a404c44f10af3d22 | 2,613 | mahjong-points-calculator-web | MIT License |
src/jsMain/kotlin/org/olafneumann/mahjong/points/ui/controls/TextOverlay.kt | noxone | 586,375,306 | false | {"Kotlin": 143838, "HTML": 15086, "CSS": 5296, "Java": 4417, "Dockerfile": 1747, "Shell": 573} | package org.olafneumann.mahjong.points.ui.controls
import kotlinx.browser.window
import kotlinx.dom.clear
import kotlinx.html.TagConsumer
import kotlinx.html.dom.append
import kotlinx.html.js.div
import kotlinx.html.js.span
import kotlinx.html.role
import kotlinx.html.style
import org.olafneumann.mahjong.points.ui.htm... | 7 | Kotlin | 1 | 3 | 6ca80d00654eaf41424f52b6a404c44f10af3d22 | 2,613 | mahjong-points-calculator-web | MIT License |
dynamic-query-specification/src/main/kotlin/br/com/dillmann/dynamicquery/specification/valueparser/exception/ParseFailedException.kt | lucasdillmann | 766,655,271 | false | {"Kotlin": 343330, "ANTLR": 1950} | package br.com.dillmann.dynamicquery.core.valueparser.exception
/**
* [ValueParseException] specialization for the scenarios where the parser failed to convert the value with an
* exception
*
* @param value Value requested to be converted
* @param targetType Target type of the conversion
* @param cause Exception... | 0 | Kotlin | 0 | 1 | f45a7af14bc6ca21662d472cb97b4fabccc856aa | 546 | dynamic-query | MIT License |
core/ui/src/main/java/com/niyaj/ui/event/ItemEvents.kt | skniyajali | 644,752,474 | false | {"Kotlin": 2028840} | package com.niyaj.ui.event
sealed interface ItemEvents {
data class SelectItem(val itemId: Int): ItemEvents
object SelectAllItems: ItemEvents
object DeselectAllItems: ItemEvents
object DeleteItems: ItemEvents
object OnSearchClick: ItemEvents
data class OnSearchTextChanged(val text: String... | 12 | Kotlin | 0 | 3 | f068f418b7691ab2959e12ff6ec900c4bd92bfb5 | 429 | PoposRoom | Apache License 2.0 |
komm-simple/src/jvmMain/kotlin/com/ucasoft/komm/simple/Extended.kt | Scogun | 739,757,749 | false | null | package com.ucasoft.komm.simple
import com.ucasoft.komm.abstractions.KOMMResolver
import com.ucasoft.komm.annotations.*
import java.time.Instant
import java.util.*
@KOMMMap(from = SourceObject::class)
data class JvmDestinationObject(
val id: Int,
val stringToInt: Int,
@MapFrom("userName")
val name: St... | 3 | null | 0 | 8 | 49d0476320178147b77a854a6ec5321449350f41 | 1,043 | komm | Apache License 2.0 |
service/daemon/event-router/src/main/kotlin/vdi/daemon/events/routing/model/MinIOEventAction.kt | VEuPathDB | 575,990,672 | false | {"Kotlin": 614384, "Java": 211077, "RAML": 89879, "Makefile": 2331, "Dockerfile": 729, "Shell": 493} | package vdi.daemon.events.routing.model
/**
* MinIO Event Action Type
*
* Represents the primary action that was taken to trigger an event.
*
* The two modelled event action types are `s3:ObjectCreated:*` and
* `s3:ObjectRemoved:*`.
*/
enum class MinIOEventAction {
/**
* `s3:ObjectCreated:*`
*/
CREAT... | 47 | Kotlin | 0 | 0 | b012ef760b441549d1343c5e34f9b3594a22c8e9 | 378 | vdi-service | Apache License 2.0 |
src/main/kotlin/me/serce/solidity/util.kt | idrabenia | 108,669,288 | true | {"Kotlin": 148969, "Lex": 14704, "Shell": 429, "HTML": 115} | package me.serce.solidity
import com.intellij.openapi.util.Computable
import com.intellij.openapi.util.RecursionManager
import com.intellij.openapi.util.io.StreamUtil
fun <T> recursionGuard(key: Any, memoize: Boolean = true, block: Computable<T>): T? =
RecursionManager.doPreventingRecursion(key, memoize, block)
f... | 0 | Kotlin | 0 | 1 | 68811dfec04b521332ea01d87486af4f3aa026cd | 866 | intellij-solidity | MIT License |
base/src/main/java/com/example/base/utils/TLog.kt | huangtaoOO | 556,157,176 | false | {"Kotlin": 148586, "Java": 3191} | package com.example.base.utils
import android.util.Log
object TLog {
@JvmStatic
fun i(tag: String, msg: String) {
Log.i(tag, msg)
}
@JvmStatic
fun d(tag: String, msg: String) {
Log.d(tag, msg)
}
@JvmStatic
fun e(tag: String, msg: String) {
Log.e(tag, msg)
... | 0 | Kotlin | 1 | 9 | b1b8d35b16ef184d85b588637c4268165b31754b | 833 | TaoComponent | Apache License 2.0 |
core-util/src/main/java/com/frogobox/coreutil/movie/model/TvDetailsNetwork.kt | frogobox | 389,577,716 | false | null | package com.frogobox.frogoconsumeapi.movie.model
data class TvDetailsNetwork(
val id: Int?,
val logo_path: String?,
val name: String?,
val origin_country: String?
) | 0 | null | 6 | 15 | 1405bea588e9e118451a989f3079a3ffe560f003 | 181 | frogo-consume-api | Apache License 2.0 |
app/src/main/java/de/lemke/sudoku/domain/GetAllSudokusUseCase.kt | Lemkinator | 539,200,477 | false | {"Kotlin": 307941} | package de.lemke.sudoku.domain
import de.lemke.sudoku.data.database.SudokusRepository
import de.lemke.sudoku.domain.model.Difficulty
import de.lemke.sudoku.domain.model.Sudoku
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import javax.inject.Inject
class GetAllSudokusUseCase @Inject cons... | 0 | Kotlin | 1 | 8 | 2b61114ed2912c1886d1be88b0dc7be72cde34e5 | 2,700 | Sudoku | MIT License |
src/test/kotlin/daggerok/extensions/html/plus/PLUSTest.kt | daggerok | 129,464,916 | false | null | package daggerok.extensions.html.plus
import org.junit.Assert.*
import org.junit.Test
class PLUSTest {
@Test fun `acceptance testing`() {
assertEquals(
"<!DOCTYPE html><html><head><meta charset='UTF-8'/>" +
"<title>acceptance testing</title></head>" +
"<body><h1>Hello, World!</h... | 0 | Kotlin | 0 | 1 | 1a93882833339ac047ecffdfdafdf5a524ec4076 | 670 | kotlin-html-dsl | MIT License |
authenticator/src/main/java/com/amplifyframework/ui/authenticator/AuthenticatorStepState.kt | aws-amplify | 490,439,616 | false | {"Kotlin": 506954, "Java": 41586, "C++": 26045, "CMake": 1057} | /*
* Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 9 | Kotlin | 4 | 9 | eb3979b6b58fdc94f9f3b61043310a8233abb21b | 9,266 | amplify-ui-android | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/integration/migration/cas2/Cas2MigrateAssessmentsTest.kt | ministryofjustice | 515,276,548 | false | null | package uk.gov.justice.digital.hmpps.approvedpremisesapi.integration.cas2
import com.ninjasquad.springmockk.SpykBean
import io.mockk.clearMocks
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Test
import uk.gov.justice.digital.hmpps.approvedpremisesapi.api.mod... | 32 | null | 2 | 5 | b1468c08a6153621abff4deb0df1988d446c56ce | 3,939 | hmpps-approved-premises-api | MIT License |
browser-kotlin/src/jsMain/kotlin/web/canvas/CanvasImageSource.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6292728} | // Automatically generated - do not modify!
package web.canvas
typealias CanvasImageSource = Any /* HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas | VideoFrame */
| 0 | Kotlin | 6 | 27 | 7e5d28c2430e25082d638f97f4c787339c8c5a8d | 211 | types-kotlin | Apache License 2.0 |
src/main/kotlin/io/github/ydwk/yde/impl/entities/guild/role/RoleTagImpl.kt | YDWK | 609,956,533 | false | null | /*
* Copyright 2022 YDWK inc.
*
*
* 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... | 2 | Kotlin | 0 | 0 | 3b00daa15356186d189550b4a5be363ee98f11eb | 1,401 | YDE | Apache License 2.0 |
Server/src/main/kotlin/obsidian/server/player/filter/Filter.kt | mixtape-bot | 338,712,241 | false | null | /*
* Copyright 2021 MixtapeBot and 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 applicable... | 4 | Kotlin | 3 | 22 | 892ec1c302ed2a5015d82ce34cbd9557354e2823 | 2,147 | obsidian | Apache License 2.0 |
app/src/main/java/com/fanjiaxing/android/photogallery/GalleryApplication.kt | fjxplus | 451,062,335 | false | {"Kotlin": 31783} | package com.fanjiaxing.android.photogallery
import android.annotation.SuppressLint
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Build
class GalleryApplication : Application() ... | 0 | Kotlin | 0 | 1 | 07e8eecaf894a2888ccfb758f392a7d4aac4467f | 1,242 | PhotoGallery | Apache License 2.0 |
redacted-compiler-plugin/src/main/kotlin/dev/zacsweers/redacted/compiler/ir/RedactedIrGenerationExtension.kt | drewhamilton | 328,464,716 | true | {"Kotlin": 40871} | package dev.zacsweers.redacted.compiler.ir
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.cli.common.messages.MessageCollector
import org.jetbrains.kotlin.ir.declarations.IrModuleFragment
impo... | 0 | Kotlin | 0 | 0 | 7032a92467156836596b43d9904c9b0dbc165223 | 939 | redacted-compiler-plugin | Apache License 2.0 |
shared/src/iosMain/kotlin/com/vasylt/composekmm/core/presentation/ImagePicker.kt | raehat | 740,143,536 | false | {"Kotlin": 94439, "Swift": 594, "HTML": 304} | package com.osisupermoses.contactlistapp.core.presentation
import androidx.compose.runtime.Composable
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.refTo
import platform.UIKit.UIImage
import platform.UIKit.UIImageJPEGRepresentation
import platform.UIKit.UIImagePickerController
import platform.... | 0 | Kotlin | 0 | 0 | b1313d5ed529aedf9819c45c316d118bf313c680 | 2,090 | twacha | MIT License |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package51/Foo05183.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.module3.package51
class Foo05183 {
fun method0() {
Foo05182().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package51/Foo05183.kt | yamamotoj | 163,851,411 | false | null | package com.github.yamamotoj.module3.package51
class Foo05183 {
fun method0() {
Foo05182().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
app/src/main/java/com/playground/mynotes/feature_note/presentation/MainActivity.kt | PratyushSingh07 | 697,150,037 | false | {"Kotlin": 28233} | package com.playground.mynotes.feature_note.presentation
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.navigation.NavController
import com.playground.mynotes.R
import com.playground.mynotes.feature_note.presentation.note.NotesScreen... | 0 | Kotlin | 0 | 0 | 0e113538323ff1610049b65039d90a1e59a0bb5a | 709 | MyNotes | MIT License |
src/me/anno/engine/ui/render/RenderView.kt | AntonioNoack | 266,471,164 | false | null | package me.anno.engine.ui.render
import me.anno.Build
import me.anno.config.DefaultConfig
import me.anno.ecs.Component
import me.anno.ecs.Entity
import me.anno.ecs.components.camera.CameraComponent
import me.anno.ecs.components.light.EnvironmentMap
import me.anno.ecs.components.light.LightComponent
import me.anno.ecs.... | 0 | Kotlin | 1 | 8 | e5f0bb17202552fa26c87c230e31fa44cd3dd5c6 | 50,595 | RemsStudio | Apache License 2.0 |
admin/src/main/kotlin/com/zeongit/admin/controller/UserController.kt | fuzeongit | 265,537,118 | false | null | package com.zeongit.admin.controller
import com.zeongit.admin.service.UserInfoService
import com.zeongit.share.annotations.RestfulPack
import com.zeongit.share.database.account.entity.UserInfo
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import... | 2 | Kotlin | 1 | 1 | 695043ba1e5f4a7a7ad662817de77758c97f408e | 639 | zeongit-beauty | MIT License |
ByteTriggerParser/src/main/kotlin/io/github/ReadyMadeProgrammer/ByteTrigger/Parser/ParseException.kt | HeartPattern | 380,629,186 | false | null | package io.github.ReadyMadeProgrammer.ByteTrigger.Parser
class ParseException(val code: SourceCode, val point: io.github.ReadyMadeProgrammer.ByteTrigger.Parser.CodePoint = code.current, message: String?=null, cause: Throwable?=null):RuntimeException(message,cause) | 1 | null | 1 | 1 | 0824c6fceb9d065db478e6b7e3718a45ff790e1e | 265 | ByteTrigger | Apache License 2.0 |
app/src/main/java/com/example/clonethreads/Screens/AddThreads.kt | aspirers01 | 746,045,724 | false | {"Kotlin": 106428} | package com.example.clonethreads.Screens
import android.net.Uri
import android.widget.Toast
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.PickVisualMediaRequest
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.Image... | 0 | Kotlin | 0 | 0 | bf84b0079ac549f28fbed8a553b28ed57d12d5d7 | 10,274 | clonethreads | MIT License |
omisego-client/src/test/kotlin/co/omisego/omisego/client/model/TransactionConsumptionTest.kt | omgnetwork | 116,833,092 | false | null | package co.omisego.omisego.model.transaction.consumption
/*
* OmiseGO
*
* Created by Phuchit Sirimongkolsathien on 29/4/2018 AD.
* Copyright © 2017-2018 OmiseGO. All rights reserved.
*/
import android.support.test.runner.AndroidJUnit4
import co.omisego.omisego.OMGAPIClient
import co.omisego.omisego.extension.bd
... | 0 | Kotlin | 8 | 18 | de12e344d6437b9c23df35d158fb247bac6c8055 | 4,211 | android-sdk | Apache License 2.0 |
app/src/main/java/com/yougame/takayamaaren/yougame/ui/wallet/WalletActivity.kt | 428talent | 167,779,777 | false | null | package com.yougame.takayamaaren.yougame.ui.wallet
import android.os.Bundle
import android.support.v7.app.AppCompatActivity;
import com.yougame.takayamaaren.yougame.R
import kotlinx.android.synthetic.main.activity_wallet.*
import kotlinx.android.synthetic.main.content_wallet.*
class WalletActivity : AppCompatActivit... | 0 | Kotlin | 0 | 0 | 7220b15262652bd59f8c8b035c88bdb02f78f6e6 | 1,256 | YouGame-Android | MIT License |
core/src/test/java/org/nekobasu/core/test/ComponentTests.kt | nekobasu-framework | 175,214,451 | false | null | package org.nekobasu.core.test
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import org.nekobasu.core... | 0 | Kotlin | 0 | 0 | fd066449ccb37854a50697af8fb5e2b7e69291d0 | 1,984 | nekobasu | Apache License 2.0 |
rsocket/rsocket-communication/server/src/main/kotlin/io/github/debop/rsocket/server/RSocketServerApplication.kt | debop | 187,949,869 | false | null | package io.github.debop.rsocket.server
import org.springframework.boot.WebApplicationType
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class RSocketServerApplication
fun main(vararg args: String) {
runApplication<RSocke... | 1 | null | 4 | 24 | a1f1fb9d8d27a072093acd13da2c04e557dc2d03 | 413 | kotlin-workshop | MIT License |
src/main/java/fr/marcwrobel/jbanking/IsoCountry.kt | jnorthrup | 99,587,520 | false | {"Maven POM": 1, "Ignore List": 1, "Markdown": 2, "Java": 10, "Kotlin": 12, "Text": 2} | /**
* Copyright 2013 <NAME> (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 1 | null | 1 | 1 | 6644514837668aa798b232d784d41055fc0d021f | 7,573 | jbanking | Apache License 2.0 |
viewpager2-tablayout-ktx/src/main/java/com/recurve/tabPager/TabLayoutMediator.kt | Tangpj | 146,057,917 | false | null | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 9 | 56 | 5b724cb9cf914be26c44f2a6bcca5b672a5e30b7 | 11,953 | MVVMRecurve | Apache License 2.0 |
app/src/main/java/com/sunnyweather/android/ui/place/PlaceAdapter.kt | JaChin-Hu | 465,939,785 | false | {"Kotlin": 1943} | package com.sunnyweather.android.ui.place
class PlaceAdapter {
} | 0 | Kotlin | 0 | 0 | d739eb630a670b07a68b8199a155a9085702f000 | 65 | SunnyWeather | Apache License 2.0 |
dxf/src/main/java/com/abplus/dxf/models/section/ThumbnailImage.kt | kazhida | 379,534,046 | false | null | package com.abplus.dxf.models.section
class ThumbnailImage {
companion object {
}
} | 0 | null | 0 | 0 | 6c184708d656e0c512e25e9d527c00f6854171c2 | 94 | Secords | Apache License 2.0 |
app/src/main/java/id/novian/flowablecash/view/report/main/ModelMenu.kt | novianr90 | 643,599,093 | false | null | package id.novian.flowablecash.view.report.main
import id.novian.flowablecash.R
data class ModelMenu(
val title: String,
val image: Int
)
val menuReportItems = listOf(
ModelMenu("Rekap Pemasukkan", R.drawable.ic_cash_receipt),
ModelMenu("Rekap Pengeluaran", R.drawable.ic_purchases_journal),
Model... | 0 | Kotlin | 0 | 0 | 284e48655157599d58bd897f429fa9c167758197 | 531 | flowable-cash | MIT License |
z2-core/src/commonMain/kotlin/hu/simplexion/z2/deprecated/event/ReactiveValue.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1812530, "CSS": 171914, "Java": 20900, "JavaScript": 1950, "HTML": 1854} | package hu.simplexion.z2.deprecated.event
import hu.simplexion.z2.util.Z2Handle
class ReactiveValue<V>(
handle: Z2Handle,
val builder: (curVal: V?) -> V
) {
var curVal: V? = null
val listener = AnonymousEventListener(handle) { curVal = builder(curVal) }
init {
EventCentral.attach(listene... | 5 | Kotlin | 0 | 1 | da267d17fcfa20631ba3d539efd7cbe42a4aa8ca | 396 | z2-pre | Apache License 2.0 |
experimental/examples/chat-mpp/src/commonMain/kotlin/SendMessage.kt | JetBrains | 293,498,508 | false | null | package chat
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Icon
import androidx.compose.ma... | 668 | null | 645 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 2,224 | compose-jb | Apache License 2.0 |
sample/wallet/src/main/kotlin/com/reown/sample/wallet/ui/routes/composable_routes/inbox/discover/ExplorerApp.kt | reown-com | 851,466,242 | false | {"Kotlin": 2055654, "Java": 4294, "Shell": 1676} | package com.reown.sample.wallet.ui.routes.composable_routes.inbox.discover
import com.reown.sample.wallet.ui.common.ImageUrl
data class ExplorerApp(
val id: String,
val name: String,
val homepage: String,
val imageId: String,
val description: String,
val imageUrl: ImageUrl,
val dappUrl: S... | 6 | Kotlin | 1 | 8 | 893084b3df91b47daa77f8f964e37f84a02843b1 | 606 | reown-kotlin | Apache License 2.0 |
common/src/jsMain/kotlin/com/niji/claudio/common/ui/widget/ClaudioAlertDialog.kt | GuillaumeMuret | 701,282,973 | false | {"Kotlin": 271685, "Shell": 5921, "Swift": 580, "HTML": 379, "CSS": 108, "Ruby": 101} | package com.niji.claudio.common.ui.widget
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
actual fun ClaudioAlertDialog(
modifier: Modifier,
onDismissRequest: () -> Unit,
confirmButton: @Composable () -> Unit,
title: @Composable (() -> Unit)?,
text: @Com... | 0 | Kotlin | 0 | 0 | a9356b164f08e8dc2bee8ecca88acbfcfa4ae870 | 359 | Claudio | Apache License 2.0 |
data_lib/src/main/kotlin/com/jdax/utils/LogUtil.kt | j-dax | 493,640,738 | false | null | package com.jdax.data.utils
import kotlin.reflect.full.companionObject
import org.slf4j.Logger
import org.slf4j.LoggerFactory
public fun logger(className: String): Logger {
return LoggerFactory.getLogger(className)
}
// Return logger for Java class, if companion object fix the name
fun <T : Any> logger(forClass:... | 0 | Kotlin | 0 | 0 | 292765e2a5e7dcc9d2f62152dfaad276458994ee | 1,098 | Data-Editor | MIT License |
buildSrc/subprojects/license-texts/src/main/kotlin/com/github/vlsi/gradle/license/EnumGeneratorTask.kt | pombredanne | 191,727,436 | true | {"Kotlin": 55726} | /*
* Copyright 2019 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 3372bcb707354101ea002dbe9aaa1526f67a7346 | 6,311 | license-gather-plugin | Apache License 2.0 |
bitcoin/src/main/java/com/brentpanther/bitcoinwidget/WidgetApplication.kt | hwki | 8,993,387 | false | null | package com.brentpanther.bitcoinwidget
import android.app.Application
import android.appwidget.AppWidgetManager
import android.content.ComponentName
import android.content.Intent
import android.content.IntentFilter
import android.content.res.Resources
import com.brentpanther.bitcoinwidget.db.WidgetDatabase
import com.... | 4 | Kotlin | 52 | 79 | b375b94494cb9ef9b2bda5fea89248dd4fe5e2d3 | 2,047 | SimpleBitcoinWidget | MIT License |
app/src/main/java/com/example/android/hilt/ui/LogsFragment.kt | kaushiknsanji | 417,085,895 | false | {"Kotlin": 30787} | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | b1fd103ddd99582f32ce2c77dfc8861c94a4eadf | 3,815 | android-hilt | Apache License 2.0 |
app/src/main/java/com/mrebollob/leitnerbox/presentation/views/CircleProgressView.kt | mrebollob | 155,557,246 | false | null | package com.mrebollob.leitnerbox.presentation.views
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.os.Bundle
import android.os.Parcelable
import android.util.AttributeSet
import android.util.TypedValue
import android.view.View
import timber.log.Timber
// Fr... | 0 | null | 0 | 2 | 3e3bfef678dd6e2daff7e6c67ec7dfc0b47a3f81 | 7,773 | leitner-box | Apache License 2.0 |
app/src/main/java/com/mrebollob/leitnerbox/presentation/views/CircleProgressView.kt | mrebollob | 155,557,246 | false | null | package com.mrebollob.leitnerbox.presentation.views
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.os.Bundle
import android.os.Parcelable
import android.util.AttributeSet
import android.util.TypedValue
import android.view.View
import timber.log.Timber
// Fr... | 0 | null | 0 | 2 | 3e3bfef678dd6e2daff7e6c67ec7dfc0b47a3f81 | 7,773 | leitner-box | Apache License 2.0 |
app/src/androidTest/java/com/harera/remote/service/UserServiceTest.kt | hassan0shaban | 289,748,566 | false | null | package com.harera.remote.service
import com.google.common.truth.Truth
import com.harera.insta.di.ServiceModule
import com.harera.remote.request.MessageInsertRequest
import io.ktor.util.*
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.test.runBlockin... | 0 | Kotlin | 0 | 0 | 94b13cdec71a77bb0e2167e2027e66bdf99ba09d | 980 | Insta | Apache License 2.0 |
app/src/main/java/com/vitorpamplona/amethyst/model/Account.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.amethyst.model
import android.content.res.Resources
import androidx.core.os.ConfigurationCompat
import androidx.lifecycle.LiveData
import com.vitorpamplona.amethyst.service.model.BookmarkListEvent
import com.vitorpamplona.amethyst.service.model.ChannelCreateEvent
import com.vitorpamplona.amet... | 120 | Kotlin | 88 | 686 | 24d722cdb72a7b52986e488b66a5540682be18f6 | 27,378 | amethyst | MIT License |
src/commonMain/kotlin/com/adyen/service/management/TerminalOrdersMerchantLevelApi.kt | tjerkw | 733,432,442 | false | {"Kotlin": 5043126, "Makefile": 6356} | /**
* Management API
*
* Configure and manage your Adyen company and merchant accounts, stores, and payment terminals. ## Authentication Each request to the Management API must be signed with an API key. [Generate your API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key) in the Cus... | 0 | Kotlin | 0 | 0 | 2da5aea5519b2dfa84454fe1665e9699edc87507 | 20,875 | adyen-kotlin-multiplatform-api-library | MIT License |
src/main/kotlin/com/github/siroque/silverraingrabber/parsers/WebPageExtractor.kt | Siroque | 233,953,072 | false | null | package com.github.siroque.silverraingrabber.parsers
import com.github.siroque.silverraingrabber.models.Broadcast
import com.github.siroque.silverraingrabber.models.BroadcastCategory
import com.github.siroque.silverraingrabber.models.BroadcastListItem
import org.jsoup.Jsoup
import org.jsoup.nodes.Element
import java.u... | 0 | Kotlin | 0 | 0 | 100b774ff8c36b844679e087543cad835dc02da5 | 12,896 | SilverRainGrabber | MIT License |
app/src/main/java/com/eatssu/android/ui/mypage/myreview/MyReviewAdapter.kt | EAT-SSU | 601,871,281 | false | {"Kotlin": 201392} | package com.eatssu.android.ui.mypage.myreview
import android.content.Intent
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
impor... | 23 | Kotlin | 0 | 5 | b1acc6b38f733d56da45be42f781c2997d0ed87f | 3,293 | Android | MIT License |
src/main/kotlin/no/nav/helseidnavtest/oppslag/fastlege/FastlegeConfig.kt | navikt | 754,033,318 | false | {"Kotlin": 83261} | package no.nav.helseidnavtest.oppslag.fastlege
import no.nav.helseidnavtest.oppslag.WSConfig
import org.springframework.boot.context.properties.ConfigurationProperties
import java.net.URI
import java.net.URI.*
@ConfigurationProperties("fastlege")
class FastlegeConfig(url: String, username: String, password: String) :... | 0 | Kotlin | 0 | 0 | 5b9c45c8f6ebd45728ad1decd5dfcd80a434bcc8 | 360 | helseid-nav-test | MIT License |
app/src/main/java/fr/groggy/racecontrol/tv/f1tv/season.kt | Groggy | 281,733,730 | false | null | package fr.groggy.racecontrol.tv.f1tv
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import java.time.Year
@JsonClass(generateAdapter = true)
data class F1TvSeasonResponse(
val self: String,
val name: String,
val year: Int,
@Json(name = "eventoccurrence_urls") val eventOccurrenceUr... | 0 | Kotlin | 31 | 22 | 2a1f20090c34bda5db47ed8528ac54dcd49e5e8e | 609 | race-control-tv | MIT License |
realm_app/app/src/main/java/com/loltilel/realmdatabase/ui/HomeActivity.kt | normansanchezn | 292,357,688 | false | null | package com.loltilel.realmdatabase.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.loltilel.realmdatabase.R
class HomeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.lay... | 0 | Kotlin | 0 | 0 | 272640bebfdcd5f88012dbaecb111c873e7d239a | 346 | RealmDataBase | MIT License |
kcqrs-testing/src/test/kotlin/com/clouway/kcqrs/testing/InMemoryAggregateRepositoryTest.kt | tsbonev | 146,594,939 | true | {"Kotlin": 156939} | package com.clouway.kcqrs.testing
import com.clouway.kcqrs.core.AggregateRoot
import com.clouway.kcqrs.core.AggregateRootBase
import com.clouway.kcqrs.core.Event
import com.clouway.kcqrs.core.SnapshotMapper
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.CoreMatchers.equalTo
import org.junit.Assert.assertTha... | 0 | Kotlin | 0 | 0 | 9e943e6dafd4a77616c5831e384d5969264f9ff1 | 3,302 | kcqrs | Apache License 2.0 |
frontend/silk-foundation/src/jsTest/kotlin/com/varabyte/kobweb/silk/testutils/CssExtensions.kt | varabyte | 389,223,226 | false | {"Kotlin": 1688738} | package com.varabyte.kobweb.silk.testutils
import com.varabyte.kobweb.compose.css.*
import org.jetbrains.compose.web.attributes.AttrsScope
import org.jetbrains.compose.web.css.*
import org.jetbrains.compose.web.css.selectors.CSSSelector
import org.jetbrains.compose.web.internal.runtime.ComposeWebInternalApi
data clas... | 109 | Kotlin | 70 | 1,556 | da9ea932d01d770cdd6cf2afce50edc9b615fde2 | 2,788 | kobweb | Apache License 2.0 |
app/common/src/main/kotlin/tech/nagual/common/permissions/internal/Lifecycles.kt | overphoenix | 621,371,055 | false | null | @file:Suppress("unused")
package tech.nagual.common.permissions.internal
import androidx.lifecycle.Lifecycle.Event
import androidx.lifecycle.Lifecycle.Event.*
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.OnLifecycleEvent
internal fun Any?.maybeObserve... | 0 | Kotlin | 0 | 0 | 64264f261c2138d5f1932789702661917bbfae28 | 1,884 | phoenix-android | Apache License 2.0 |
src/com/github/kornilova203/matlab/psi/MatlabStubbedGlobalVariable.kt | kornilova203 | 111,998,893 | false | null | package com.github.kornilova203.matlab.psi
import com.github.kornilova203.matlab.stub.MatlabGlobalVariableStub
import com.intellij.extapi.psi.StubBasedPsiElementBase
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiElement
import com.intellij.psi.StubBasedPsiElement
import com.intellij.psi.stubs.IStubElemen... | 21 | Kotlin | 16 | 94 | a975b2bd6b35f31b670591ac0fd6316f03fafbe2 | 1,565 | matlab-IntelliJ-plugin | MIT License |
AndroidLib/src/main/kotlin/com/bloomberg/selekt/android/RandomCompat.kt | rmoorhouse | 284,672,675 | true | {"Kotlin": 454942, "C++": 25134, "Java": 5518, "CMake": 2657, "Shell": 1838, "C": 1444} | /*
* Copyright 2020 Bloomberg Finance L.P.
*
* 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... | 0 | null | 0 | 0 | 7a0f791bf869d50e07f5c32de50e2add055ea442 | 908 | selekt | Apache License 2.0 |
app/src/main/java/pini/mattia/coachtimer/di/CoroutineScopeModule.kt | martirius | 559,459,763 | false | null | package pini.mattia.coachtimer.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.plus
import javax.... | 0 | Kotlin | 0 | 0 | 7853e31b3a436087e79690a9abbd652f20d47856 | 554 | coach-timer | MIT License |
apina-core/src/main/kotlin/fi/evident/apina/java/model/JavaAnnotatedElement.kt | EvidentSolutions | 36,000,351 | false | {"Gradle Kotlin DSL": 6, "Markdown": 2, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 113, "INI": 1, "YAML": 1, "AsciiDoc": 9, "XML": 1, "Java": 17} | package fi.evident.apina.java.model
import fi.evident.apina.java.model.type.JavaType
interface JavaAnnotatedElement {
val annotations: List<JavaAnnotation>
fun hasAnnotation(annotationType: JavaType.Basic) =
findAnnotation(annotationType) != null
fun findAnnotation(annotationType: JavaType.Basi... | 9 | Kotlin | 8 | 27 | 9579f6f2a1c84987555d3c9f3fa98c723040d54c | 399 | apina | MIT License |
analytics/src/test/java/io/appmetrica/analytics/impl/clids/ClidsDataParserTest.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.clids
import android.content.ContentValues
import io.appmetrica.analytics.impl.utils.StartupUtils
import io.appmetrica.analytics.testutils.CommonTest
import io.appmetrica.analytics.testutils.MockedStaticRule
import org.assertj.core.api.Assertions.assertThat
import org.json.JSONObje... | 3 | null | 5 | 54 | 81572296e16423617822fbc19c2465d6b7b4713e | 4,217 | appmetrica-sdk-android | MIT License |
app/src/main/java/com/skiff2011/fieldvalidator/sample/TextInputLayoutViewState.kt | skiff2011 | 188,702,597 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 35, "XML": 16, "Java": 4} | package com.skiff2011.fieldvalidator.sample
import com.google.android.material.textfield.TextInputLayout
import com.skiff2011.fieldvalidator.view.ValidationViewState
class TextInputLayoutViewState : ValidationViewState<TextInputLayout> {
override fun showError(error: String, view: TextInputLayout) {
view.error ... | 1 | null | 1 | 1 | 0f75192a897621a88bca869c23a69cc47720516a | 410 | fieldvalidator | Apache License 2.0 |
tracemanplugin/src/main/java/cn/cxzheng/tracemanplugin/Utils.kt | zhengcx | 208,237,250 | false | null | package cn.cxzheng.tracemanplugin
import java.io.*
import java.util.ArrayList
import java.util.zip.ZipFile
class Utils {
companion object {
val BUFFER_SIZE = 16384
fun readFileAsString(filePath: String): String {
val fileData = StringBuffer()
var fileReader: Reader? = nu... | 28 | null | 201 | 1,564 | 843217f336d29e1e310206cb8938f976355fffdc | 2,406 | MethodTraceMan | Apache License 2.0 |
compiler/testData/diagnostics/tests/cast/IsErasedStar.kt | chirino | 3,596,099 | true | null |
import java.util.List;
fun ff(l: Any) = l is List<*>
| 0 | Java | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 55 | kotlin | Apache License 2.0 |
app/src/main/java/com/okbreathe/quasar/components/tagging/ClickableMovementMethod.kt | okbreathe | 95,939,089 | false | null | package com.okbreathe.quasar.components.tagging
// http://www.programering.com/a/MTMxgjMwATg.html
class ClickableMovementMethod : android.text.method.LinkMovementMethod() {
override fun onTouchEvent(widget: android.widget.TextView, buffer: android.text.Spannable, event: android.view.MotionEvent): Boolean {
val a... | 0 | Kotlin | 0 | 0 | 0c367e67301717a7c096cc05d26153ae71a03ab5 | 2,485 | quasar-android | Apache License 2.0 |
app/src/main/java/com/luteapp/timerpx/NoAlarmAppFragment.kt | anfreelancer | 406,802,148 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 4, "Ignore List": 2, "SVG": 1, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 1, "Kotlin": 14, "XML": 29, "Java": 3} | package com.luteapp.timerpx
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.luteapp.timerpx.databinding.NoAlarmAppBinding
class NoAlarmAppFragment : ... | 0 | Kotlin | 0 | 0 | 8a272b349df671a7405bc7b02971f252e626afc2 | 1,118 | timerx | Apache License 2.0 |
repository/src/main/java/me/kwsk/odptlibrary/repository/bus/BusRoutePatternFareRepository.kt | teracy | 115,876,824 | false | null | package me.kwsk.odptlibrary.repository.bus
import io.reactivex.Single
import me.kwsk.odptlibrary.core.api.OdptBusApiClient
import me.kwsk.odptlibrary.core.api.bus.OdptBusRoutePatternFareResponse
import me.kwsk.odptlibrary.core.api.common.OdptBusRoutePatternFare
import me.kwsk.odptlibrary.core.api.common.OdptBusStopPol... | 0 | null | 0 | 5 | b3fa9249598148fc9cca0574cb62998e42b538f9 | 1,955 | OdptLibrary | Apache License 2.0 |
src/main/kotlin/jason/chen/mini_springboot/restful/langbasic/classes/LateInit.kt | EasyKotlin | 92,763,000 | true | {"Gradle": 2, "Shell": 6, "Batchfile": 6, "Markdown": 1, "Java Properties": 2, "Java": 3, "YAML": 1, "HTML": 4, "Text": 16, "CSS": 2, "JavaScript": 2, "Kotlin": 114} | package jason.chen.mini_springboot.restful.langbasic.classes
/**
* Created by milosvasic on 6/8/16.
*/
class SomeExampleClass {
fun printMe() {
println("I am late initialized!")
}
}
class TryLateInit {
lateinit var x: SomeExampleClass
fun printMe() {
x = SomeExampleClass()
x... | 0 | Kotlin | 0 | 1 | 1235c07bf32e1c026982755c53121eac480cf091 | 339 | mini_springboot | Apache License 2.0 |
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTopLevelDeclaredMemberScope.kt | damenez | 176,209,431 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | /*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.scopes.impl
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.declarations.FirFile
import org.jet... | 0 | Kotlin | 0 | 2 | 9a2178d96bd736c67ba914b0f595e42d1bba374d | 1,692 | kotlin | Apache License 2.0 |
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTopLevelDeclaredMemberScope.kt | damenez | 176,209,431 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | /*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.scopes.impl
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.declarations.FirFile
import org.jet... | 0 | Kotlin | 0 | 2 | 9a2178d96bd736c67ba914b0f595e42d1bba374d | 1,692 | kotlin | Apache License 2.0 |
platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapabc/mapabcsdk/testapp/activity/fragment/ViewPagerActivity.kt | liqingtao | 178,830,280 | false | null | package com.mapabc.mapabcsdk.testapp.activity.fragment
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentStatePagerAdapter
import android.support.v7.app.AppCompatActivity
import com.mapabc.mapabcsdk.maps.MapabcMapOptions
... | 1 | null | 1 | 1 | adf029f92a13780e7667be0dd7339c53760ea2a2 | 4,954 | mapbox-gl-native | Apache License 2.0 |
analysis/low-level-api-fir/testData/lazyResolveScopes/delegateOverrideWithoutImplicitTypeInsideClass.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | annotation class Anno(val str: String)
val constant = "const"
lateinit var d: IntermediateInterface
class MyC<caret>lass : IntermediateInterface by d {
override fun isSchemeFile(name: CharSequence): Boolean = name != "str"
}
interface IntermediateInterface : BaseInterface {
}
interface BaseInterface {
fun is... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 635 | kotlin | Apache License 2.0 |
MovieousDemo/app/src/main/java/com/movieous/media/mvp/model/BeautyEnum.kt | hotpoor | 163,046,791 | false | {"Java": 648258, "C++": 173852, "C": 112669, "Kotlin": 62673, "HTML": 60602, "CMake": 1305} | package com.movieous.media.mvp.model
enum class BeautyEnum {
/**
* 磨皮
*/
FACE_BLUR,
/**
* 大眼
*/
EYE_ENLARGE,
/**
* 瘦脸
*/
CHEEK_THINNING,
} | 1 | null | 1 | 1 | 080f21ed5985638c9ca8535f1ecb5731e55a6a66 | 195 | UShortVideo-Android-Release | MIT License |
app/src/androidTest/java/com/example/android/architecture/blueprints/todoapp/test/chapter3/testsamples/DataInteractionKotlinDslTest.kt | Apress | 139,484,573 | false | null | package com.example.android.architecture.blueprints.todoapp.test.chapter3.testsamples
import android.R.id.*
import android.preference.PreferenceActivity
import com.google.android.material.R.id.design_menu_item_text
import androidx.test.espresso.Espresso.onData
import androidx.test.espresso.Espresso.onView
import andro... | 3 | null | 52 | 65 | 0efcef4329d905a4103eb8b3b7fb11f6215395b6 | 2,192 | android-espresso-revealed | Apache License 2.0 |
voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/VoucherViewProvider.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2022 <NAME>
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by ozgur on 12/9/2022.
*/
package com.adyen.checkout.voucher.internal.ui
import android.content.Context
import android.util.AttributeSet
import com.adyen.checkout.ui.c... | 29 | Kotlin | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 1,100 | adyen-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.