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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dexfile/src/main/kotlin/com/github/netomi/bat/dexfile/DexAccessFlags.kt | netomi | 265,488,804 | false | null | /*
* Copyright (c) 2020 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law, agreed... | 1 | null | 3 | 10 | 5f5ec931c47dd34f14bd97230a29413ef1cf219c | 3,204 | bat | Apache License 2.0 |
app/src/main/java/com/jamieadkins/nytimesdemo/ApiManager.kt | jamieadkins95 | 117,567,464 | false | null | package com.jamieadkins.nytimesdemo
import android.util.Log
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.moczul.ok2curl.CurlInterceptor
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofi... | 0 | Kotlin | 0 | 0 | b3b167ad5a30a053a984ffe91ddb84f085358a84 | 1,959 | nytimes-demo | MIT License |
src/main/kotlin/pro/gramcode/box2d/dsl/FixtureDsl.kt | Jkly | 68,972,789 | false | null | package pro.gramcode.box2d.dsl
import com.badlogic.gdx.physics.box2d.Filter
import com.badlogic.gdx.physics.box2d.FixtureDef
@Box2dDslMarker
abstract class FixtureDsl(private val fixtureDef: FixtureDef) {
fun filter(configureFilter: Filter.() -> Unit = {}) {
configureFilter(fixtureDef.filter)
}
v... | 0 | Kotlin | 0 | 3 | cd4f37a81b063008a36ed59e9188f7f0d8e087bf | 1,216 | gdx-box2d-kotlin | Apache License 2.0 |
app/src/main/java/com/piashcse/hilt_mvvm_compose_movie/ui/screens/moviedetail/MovieDetailViewModel.kt | piashcse | 415,384,781 | false | {"Kotlin": 118247} | package com.piashcse.hilt_mvvm_compose_movie.ui.screens.moviedetail
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.piashcse.hilt_mvvm_compose_movie.data.model.BaseModel
import com.piashc... | 1 | Kotlin | 19 | 97 | 98c5621eb0077530f84437a947fc285b14115529 | 1,757 | Hilt-MVVM-Compose-Movie | Apache License 2.0 |
sdk/src/main/java/io/wso2/android/api_authenticator/sdk/models/state/AuthenticationState.kt | Achintha444 | 731,559,375 | false | {"Kotlin": 253341, "Java": 1580} | package io.wso2.android.api_authenticator.sdk.models.state
import io.wso2.android.api_authenticator.sdk.models.authentication_flow.AuthenticationFlow
/**
* Authentication state of the application
* This sealed class is used to represent the different states of the authentication process
*
* States:
* - [Initial]... | 0 | Kotlin | 0 | 0 | a4928ccd62e8ca1807e218d78c0270df65d96a5c | 1,012 | wso2-android-api-authenticator-sdk | Apache License 2.0 |
aws/sdk-codegen/src/test/kotlin/software/amazon/smithy/rustsdk/RegionDecoratorTest.kt | smithy-lang | 308,027,791 | false | {"Rust": 4428309, "Kotlin": 3842117, "Smithy": 151231, "Python": 62946, "Shell": 49728, "TypeScript": 30713, "Dockerfile": 9790, "JavaScript": 5975, "Harbour": 5848, "Makefile": 5633, "CSS": 982, "RenderScript": 116} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.rustsdk
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import software.amazon.smit... | 300 | Rust | 188 | 504 | 8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507 | 3,833 | smithy-rs | Apache License 2.0 |
CommonClient/src/commonMain/kotlin/by/cedon/skabs/multiplatform/model/network/ServerApi.kt | AinisSK | 178,153,323 | false | {"C++": 1163504, "C": 1162274, "Objective-C": 750696, "Kotlin": 31845, "Swift": 3001, "Ruby": 768, "Shell": 108} | package by.cedon.skabs.multiplatform.model.network
import by.cedon.skabs.multiplatform.Api
import by.cedon.skabs.multiplatform.model.log.PlatformLogger
import io.ktor.client.HttpClient
import io.ktor.client.call.call
import io.ktor.client.features.UserAgent
import io.ktor.client.features.logging.LogLevel
import io.kto... | 0 | C++ | 0 | 0 | 5c778c9607b25f6429d8f9340473be47710b4ef4 | 1,402 | KotlinNative-Multiplatrofm | Apache License 2.0 |
app/src/main/java/com/mainstreetcode/teammate/fragments/main/StatRankFragment.kt | femzydoo | 207,017,344 | true | {"Kotlin": 1468678, "Java": 67891} | /*
* MIT License
*
* Copyright (c) 2019 <NAME>
*
* 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, m... | 0 | null | 0 | 0 | 1f4255741aa65f64f67dbca446f1731ffe4db85f | 5,176 | teammate-android | MIT License |
legacy-token-migration-sample/src/main/java/sample/okta/android/legacy/browser/BrowserViewModel.kt | okta | 445,628,677 | false | {"Kotlin": 737721, "Shell": 884} | /*
* Copyright 2021-Present Okta, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 14 | Kotlin | 11 | 26 | e3261c5826ad907d173bdadb34db36111fad4c77 | 2,285 | okta-mobile-kotlin | Apache License 2.0 |
app/src/main/java/kittoku/mvc/unit/arp/ARPPacket.kt | kittoku | 401,675,193 | false | null | package kittoku.mvc.unit.arp
import kittoku.mvc.debug.assertAlways
import kittoku.mvc.unit.DataUnit
import kittoku.mvc.unit.ethernet.ETHER_TYPE_IPv4
import java.nio.ByteBuffer
internal class ARPPacket : DataUnit {
internal var opcode: Short = 0
internal val senderMac = ByteArray(6)
internal val senderIp... | 5 | Kotlin | 11 | 33 | 9f8be9802629684d0eb68fedb9f859e9df7339e2 | 1,265 | Minimum-VPN-Client-for-SoftEther-VPN | Apache License 2.0 |
app/src/main/java/com/nuevo/gameness/ui/pages/personal/profile/settings/teaminvitations/TeamInvitationsViewModel.kt | arbabkh | 873,814,880 | false | {"Kotlin": 538078} | package com.nuevo.gameness.ui.pages.personal.profile.settings.teaminvitations
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.nuevo.gameness.data.model.teamusers.TeamInviteDecisionRequest
import com.nuevo.gameness.data.repository.Repository
... | 0 | Kotlin | 0 | 0 | 80d7b04385a2cd516b8157dbea19dd821c30fcc9 | 1,089 | gameness-android | MIT License |
app/src/main/java/cn/bluemobi/dylan/step/activity/MainActivity.kt | xrn1997 | 377,336,800 | true | {"Kotlin": 68068} | package cn.bluemobi.dylan.step.activity
import android.Manifest
import android.content.ComponentName
import android.content.Intent
import android.content.ServiceConnection
import android.os.Build
import android.os.Bundle
import android.os.IBinder
import android.view.View
import android.widget.TextView
import android.w... | 0 | Kotlin | 0 | 0 | 085f18f6d077a1d9fb55d00864e644a0f0cb6a5e | 5,285 | dylan-step-count | Do What The F*ck You Want To Public License |
app/src/main/java/com/github/nothing2512/anticorona/ui/country/CountryLoading.kt | nothing2512 | 251,372,631 | false | null | /*
* Copyright 2020 Nothing
*
* 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 w... | 0 | Kotlin | 0 | 1 | 8da04a8dd852c01673b75783e7e9047af5e2bcc2 | 1,264 | AntiCoronaAndroid | Apache License 2.0 |
supreme/src/iosMain/kotlin/at/asitplus/signum/supreme/InteropUtils.kt | a-sit-plus | 700,518,667 | false | {"Kotlin": 1106936, "Swift": 554} | @file:OptIn(ExperimentalForeignApi::class)
package at.asitplus.signum.supreme
import kotlinx.cinterop.*
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import platform.CoreFoundation.CFDictionaryCreateMutable
import platform.CoreFoundation.CFDictionaryGetValue
import platform.CoreFoundati... | 17 | Kotlin | 2 | 41 | d40a11909be205a55e424699323cb0044433bf81 | 7,962 | signum | Apache License 2.0 |
app/src/main/java/com/douglas/githubauth/di/AppComponent.kt | douglas-queiroz | 186,172,907 | false | {"Kotlin": 56818} | package com.douglas.githubauth.di
import com.douglas.githubauth.di.module.*
import com.douglas.githubauth.module.core.CoreActivity
import com.douglas.githubauth.module.login.LoginFragment
import com.douglas.githubauth.module.repositoryList.RepositoryListFragment
import dagger.Component
import javax.inject.Singleton
@... | 0 | Kotlin | 0 | 0 | 063115e6f44e93e4f9ba0063bf43da6e02b77359 | 690 | Github-Auth | Apache License 2.0 |
libraries/apollo-compiler/src/main/kotlin/com/apollographql/apollo3/compiler/ApolloUsedCoordinates.kt | ai-doma-android | 434,554,147 | true | {"Kotlin": 2342073, "Java": 226626, "CSS": 26280, "ANTLR": 8213, "JavaScript": 1191} | package com.apollographql.apollo3.compiler
import com.apollographql.apollo3.ast.GQLFragmentDefinition
import com.apollographql.apollo3.ast.Schema
import com.apollographql.apollo3.ast.parseAsGQLDocument
import com.apollographql.apollo3.ast.toUtf8
import com.apollographql.apollo3.compiler.codegen.ResolverInfo
import com... | 0 | Kotlin | 0 | 0 | a2042b0397b4154b1e74ae0426dd6c20d0f0c5af | 1,101 | apollo-android | MIT License |
src/main/kotlin/org/semonte/intellij/swagger/traversal/path/swagger/SchemaPathResolver.kt | semonte | 692,733,249 | false | {"Kotlin": 511953, "Java": 219922, "HTML": 5081} | package org.semonte.intellij.swagger.traversal.path.swagger
import com.intellij.psi.PsiElement
class SchemaPathResolver : PathResolver {
override fun childOfSchema(psiElement: PsiElement): Boolean {
return hasPath(psiElement, "$")
}
override fun childOfSchemaItems(psiElement: PsiElement): Boolea... | 0 | Kotlin | 0 | 0 | 52f4741b177b1fbc71c4fe8e5d00ef2d572d2154 | 516 | openapi-plugin | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystem/IntakeArmSubsystem.kt | DevoltRobotics | 702,717,251 | false | {"Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Markdown": 7, "INI": 1, "Kotlin": 53, "XML": 11, "Java": 95, "JSON": 1} | package org.firstinspires.ftc.teamcode.subsystem
import com.acmerobotics.dashboard.config.Config
import com.acmerobotics.roadrunner.control.PIDCoefficients
import com.acmerobotics.roadrunner.control.PIDFController
import com.github.serivesmejia.deltacommander.DeltaSubsystem
import com.qualcomm.robotcore.hardware.DcMot... | 0 | Java | 0 | 0 | 72a32f8475e43f97dc980909614559419848adcf | 1,611 | Phobos-CenterStage | BSD 3-Clause Clear License |
src/main/kotlin/org/wagham/config/locale/components/MultiCharacterLocale.kt | kaironbot | 566,988,243 | false | {"Kotlin": 590249, "Dockerfile": 253} | package org.wagham.config.locale.components
import dev.kord.common.Locale
import org.wagham.config.locale.LocaleEnum
enum class MultiCharacterLocale(val localeMap: Map<Locale, String>) : LocaleEnum {
DESCRIPTION(
mapOf(
Locale.ENGLISH_GREAT_BRITAIN to "Select the target character.",
... | 4 | Kotlin | 0 | 0 | 6d5217b5bbfcc2e1a30bf100a55c86bf3480a753 | 1,169 | kairon-bot | MIT License |
app/src/main/java/com/nhahv0902/notebook/ui/notebook/NotebookViewModel.kt | nhahv0902 | 98,270,423 | false | null | package com.nhahv0902.notebook.ui.notebook
import com.nhahv0902.notebook.ui.BaseViewModel
/**
* Exposes the data to be used in the Notebook screen.
*/
class NotebookViewModel : BaseViewModel(){
override fun onStart() {
}
override fun onStop() {
}
}
| 0 | Kotlin | 0 | 0 | b73634e30cfc6700afcf51394a8e30bcd4c284d0 | 272 | Kotlin_Notebook_MVVM | Apache License 2.0 |
app/src/main/java/ar/edu/unlam/mobile/scaffolding/ScaffoldingApplication.kt | unlam-tec-movil | 853,823,205 | false | {"Kotlin": 16776} | package ar.edu.unlam.mobile.scaffolding
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class ScaffoldingApplication : Application()
| 2 | Kotlin | 0 | 1 | 282d11401b07b747b3c1bfd3d721f18e23c38f25 | 176 | a2-2024-h2-e1 | MIT License |
canvas-annotation-lib/src/main/kotlin/CanvasItem.kt | lambcode | 123,732,200 | false | {"HTML": 223847, "Kotlin": 35948} | import org.w3c.dom.CanvasRenderingContext2D
internal interface CanvasItem: Drawable {
val bounds: Rectangle
}
internal interface Drawable {
fun draw(context: CanvasRenderingContext2D)
}
| 0 | HTML | 0 | 0 | 7e84616c1696ad385b4c0a917ac74f41655c945a | 197 | canvas-annotation | MIT License |
.teamcity/builds/apiReferences/kotlinx/metadataJvm/KotlinxMetadataJvmBuildSearchIndex.kt | LiYing2010 | 56,597,384 | true | {"JavaScript": 193817, "SCSS": 133216, "Python": 112181, "TypeScript": 86401, "HTML": 53266, "CSS": 41389, "Shell": 8807, "FreeMarker": 4692, "XSLT": 3883, "Dockerfile": 1276} | package builds.apiReferences.kotlinx.metadataJvm
import builds.apiReferences.dependsOnDokkaPagesJson
import builds.apiReferences.templates.BuildApiReferenceSearchIndex
import jetbrains.buildServer.configs.kotlin.BuildType
object KotlinxMetadataJvmBuildSearchIndex: BuildType({
name = "Build search index for kotlinx-... | 0 | JavaScript | 18 | 91 | 919be695d31d4f00acfb20827d74d590830fcce2 | 607 | kotlin-web-site | Apache License 2.0 |
modules/core/arrow-test/src/main/kotlin/arrow/test/laws/MonadDeferLaws.kt | clojj | 343,913,289 | true | {"Kotlin": 3017035, "CSS": 85447, "JavaScript": 26157, "HTML": 22172, "Scala": 8073, "Shell": 6915, "Java": 4465, "Ruby": 1598} | package arrow.fx.test.laws
import arrow.Kind
import arrow.core.extensions.eq
import arrow.core.extensions.list.foldable.foldLeft
import arrow.core.k
import arrow.core.left
import arrow.core.right
import arrow.core.test.concurrency.SideEffect
import arrow.core.test.generators.GenK
import arrow.core.test.generators.intS... | 0 | null | 0 | 0 | 754a4467f1fc1a9dcf7a0d5b890e70198a7f51b0 | 7,889 | arrow | Apache License 2.0 |
app/src/main/java/com/cagudeloa/harrypotter/ui/viewmodel/ViewModelFactory.kt | casa98 | 296,815,895 | false | null | package com.cagudeloa.harrypotter.ui.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.cagudeloa.harrypotter.domain.Repository
class ViewModelFactory(private val repository: Repository): ViewModelProvider.Factory {
override fun <T : ViewModel?> create(modelClass:... | 0 | Kotlin | 0 | 0 | 70292268d49613c47a23eb76c0ce3b672ae6f37e | 433 | Harry-Potter | MIT License |
app/src/main/java/com/cagudeloa/harrypotter/ui/viewmodel/ViewModelFactory.kt | casa98 | 296,815,895 | false | null | package com.cagudeloa.harrypotter.ui.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.cagudeloa.harrypotter.domain.Repository
class ViewModelFactory(private val repository: Repository): ViewModelProvider.Factory {
override fun <T : ViewModel?> create(modelClass:... | 0 | Kotlin | 0 | 0 | 70292268d49613c47a23eb76c0ce3b672ae6f37e | 433 | Harry-Potter | MIT License |
app/src/main/java/com/dojo/moovies/interactor/HomeIntercator.kt | pgsilva | 739,863,015 | false | {"Kotlin": 84359} | package com.dojo.moovies.interactor
import android.util.Log
import com.dojo.moovies.interactor.state.HomeInteractorState.HomeLoadState
import com.dojo.moovies.repository.MyListRepository
import com.dojo.moovies.repository.TheMovieDbRepository
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
cla... | 0 | Kotlin | 0 | 0 | e4f5dd987488cae8beb86e22570ed1e939e2f324 | 2,495 | moovies | MIT License |
app/src/main/java/com/andruhavuho/man/like/notes/ui/EditNoteFragment.kt | Andrey-Kachow | 453,088,485 | false | {"Kotlin": 21904} | package com.andruhavuho.man.like.notes.ui
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.widget.TextView
import android.widget.Toast
import androidx.core.os.bundleOf
import androidx.fragment.app.Fragment
import and... | 0 | Kotlin | 0 | 0 | d82613afac94b3d458548afc780fade92affa9c6 | 3,066 | BlueNotes | MIT License |
jvm/src/main/kotlin/jp/ogiwara/anitube/method/GetTopVideosMethod.kt | Ogiwara-CostlierRain464 | 123,071,878 | false | {"JavaScript": 1686208, "Kotlin": 44675, "HTML": 702} | package jp.ogiwara.anitube.method
import jp.ogiwara.anitube.Anitube
import jp.ogiwara.anitube.http.getBody
import jp.ogiwara.anitube.makeVideo
import jp.ogiwara.anitube.model.Video
import org.jsoup.Jsoup
internal actual class GetTopVideosMethod actual constructor(val fragment: String) {
actual fun execute(): List... | 0 | JavaScript | 0 | 2 | 76db04ce41d1b197c29bc1c884be617184fa2fa2 | 624 | AnitubeAPI | MIT License |
sample/test-utils/src/androidMain/kotlin/StringDescExt.kt | icerockdev | 204,874,263 | false | null | /*
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
import android.content.Context
import androidx.test.core.app.ApplicationProvider
import dev.icerock.moko.resources.desc.StringDesc
actual fun StringDesc.getString(): String {
val context = ApplicationProvider.... | 37 | Kotlin | 33 | 285 | 31103b4fa7bca2445487b9f9aafa9cc8085af3ca | 384 | moko-resources | Apache License 2.0 |
android/features/login/src/main/java/io/newm/feature/login/screen/email/EmailState.kt | projectNEWM | 435,674,758 | false | {"Kotlin": 326567, "Swift": 233616} | package io.newm.feature.login.screen.email
import androidx.core.util.PatternsCompat.EMAIL_ADDRESS
import io.newm.feature.login.screen.TextFieldState
class EmailState : TextFieldState(validator = ::isEmailValid, errorFor = ::emailValidationError)
/**
* Returns an error to be displayed or null if no error was found
*... | 1 | Kotlin | 8 | 9 | 98b9e2d2dfe9ce29d53cf31f73a5a0172f742717 | 521 | newm-mobile | Apache License 2.0 |
shared/src/commonMain/kotlin/co/nimblehq/ic/kmm/suv/di/extensions/UseCase.kt | suho | 523,936,897 | false | {"Kotlin": 232630, "Swift": 119332, "Ruby": 21329, "Shell": 81} | package co.nimblehq.ic.kmm.suv.di.extensions
import co.nimblehq.ic.kmm.suv.di.initKoin
import co.nimblehq.ic.kmm.suv.domain.usecase.*
import org.koin.core.Koin
import org.koin.core.KoinApplication
fun KoinApplication.Companion.start(): KoinApplication = initKoin()
// Define all UseCases here for iOS
val Koin.logInUs... | 0 | Kotlin | 0 | 3 | d34b39d4755770898c8236db0318535a5aa15dcf | 648 | kmm-ic | MIT License |
app/src/main/java/com/lobo/userlist/domain/interactor/GetUsersList.kt | viniciuslobo21 | 435,084,879 | false | null | package com.lobo.userlist.domain.interactor
import com.lobo.userlist.core.util.Result
import com.lobo.userlist.domain.UserModel
import com.lobo.userlist.repository.UsersRepository
class GetUsersList(private val repository: UsersRepository) {
fun invoke(): Result<List<UserModel>, Exception> {
return repos... | 0 | Kotlin | 0 | 0 | 38a4e5ffc22d6107d8c1907332d93376a6f45227 | 347 | FunAvatarApp | MIT License |
app/src/main/java/com/auliaisb/weatherforecast/di/AppComponents.kt | auliaisb | 201,660,219 | false | null | package com.auliaisb.weatherforecast.di
import com.auliaisb.weatherforecast.WeatherApp
import com.auliaisb.weatherforecast.db.DbModule
import com.auliaisb.weatherforecast.repo.WeatherRepo
import com.auliaisb.weatherforecast.viewmodel.MainViewModel
import com.auliaisb.weatherforecast.webservice.NetworkModule
import dag... | 0 | Kotlin | 0 | 0 | f8302f5393f2e24b83b4ded575c4f025669cb69f | 615 | WeatherForecast | Apache License 2.0 |
lista1/app/src/main/java/br/senac/android/lista1/exercicio1.kt | ph-gonzaga | 418,153,446 | false | {"Kotlin": 26350} | package br.senac.android.lista1
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.CheckBox
import android.widget.EditText
class exercicio1 : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(s... | 0 | Kotlin | 0 | 0 | 6391eff301823727814259c16c87eabb37b3fe20 | 1,558 | atividades_android | MIT License |
library/composables/src/commonMain/kotlin/com/tunjid/composables/pointeroffsetscroll/PointerOffsetScroll.kt | tunjid | 767,617,473 | false | {"Kotlin": 86459} | package com.tunjid.composables.pointeroffsetscroll
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.ScrollableState
import androidx.compose.foundation.gestures.scrollBy
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import an... | 0 | Kotlin | 1 | 5 | 5b80b21e1bab34678d400c6f17fe8032a35c7301 | 3,924 | composables | Apache License 2.0 |
y2015/src/main/kotlin/adventofcode/y2015/Day03.kt | Ruud-Wiegers | 434,225,587 | false | {"Kotlin": 496180} | package adventofcode.y2015
import adventofcode.io.AdventSolution
import adventofcode.util.vector.Direction
import adventofcode.util.vector.Vec2
object Day03 : AdventSolution(2015, 3, "Perfectly Spherical Houses in a Vacuum") {
override fun solvePartOne(input: String) = input.visitEach().size
override fun so... | 0 | Kotlin | 0 | 3 | 71a4c9c3da05da45901bc0c80fdde49d64a9c0e5 | 979 | advent-of-code | MIT License |
client/slack-api-client/src/main/kotlin/com/kreait/slack/api/group/channels/ChannelsCreateMethod.kt | ironaraujo | 249,748,914 | true | {"Kotlin": 1212878, "Shell": 935} | package com.kreait.slack.api.group.channels
import com.kreait.slack.api.contract.jackson.group.channels.ChannelsCreateRequest
import com.kreait.slack.api.contract.jackson.group.channels.ErrorChannelsCreateResponse
import com.kreait.slack.api.contract.jackson.group.channels.SuccessfulChannelsCreateResponse
import com.k... | 0 | null | 0 | 0 | 07edb441421961b0d84d8f95e97f8b25f48a360e | 655 | slack-spring-boot-starter | MIT License |
dslitem/src/main/java/com/angcyo/item/DslSegmentSolidTabItem.kt | angcyo | 229,037,615 | false | {"Kotlin": 6616677, "JavaScript": 5194} | package com.angcyo.item
import com.angcyo.item.style.itemTabSelectIndexChangeAction
/**
* 块状颜色分段的[DslSegmentTabItem]
* @author <a href="mailto:<EMAIL>">angcyo</a>
* @since 2022/09/27
*/
open class DslSegmentSolidTabItem : DslSegmentTabItem() {
init {
itemLayoutId = R.layout.dsl_segment_solid_tab_item... | 0 | Kotlin | 4 | 3 | 6ce6ff1dc48e44243adbb75f62d0497ba4443e41 | 424 | UICore | MIT License |
core/utils/src/main/kotlin/top/chengdongqing/weui/core/utils/PermissionUtils.kt | chengdongqing | 782,566,304 | false | {"Kotlin": 894390} | package top.chengdongqing.weui.core.utils
import android.Manifest
import android.os.Build
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.... | 0 | Kotlin | 3 | 8 | eb773e75aacb801cb24adb41db9fe17224eb883a | 2,621 | WeUI | Apache License 2.0 |
src/main/kotlin/topic_3/StudAdmin.kt | GionRubitschung | 708,739,829 | false | {"Kotlin": 8611} | package topic_3
import kotlin.random.Random
class Course {
private val students = ArrayList<Student>()
fun addStudent(student: Student) {
students.add(student)
}
fun removeStudent(student: Student) {
students.removeIf { it.id == student.id }
}
fun numberOfStudents() = studen... | 0 | Kotlin | 0 | 0 | b42267a9c18fdeb75150bcadd5f7b264546b7f78 | 1,778 | kotlin_1 | MIT License |
client/app/src/main/java/com/unina/natourkt/core/data/remote/dto/mapper/ReportCreationApiMapper.kt | archer-65 | 433,413,556 | false | null | package com.unina.natourkt.core.data.remote.dto.mapper
import com.unina.natourkt.core.data.remote.dto.ReportCreationDto
import com.unina.natourkt.core.domain.model.ReportCreation
import javax.inject.Inject
class ReportCreationApiMapper @Inject constructor() :
CreationApiMapper<ReportCreation, ReportCreationDto> {... | 0 | Kotlin | 0 | 1 | d0c4881e6b8432aff5cf1751d58350da2d5a4461 | 722 | natour-2122 | Apache License 2.0 |
Collections/Partition/src/Task.kt | teaforthecat | 842,981,878 | false | {"Kotlin": 26830} | // Return customers who have more undelivered orders than delivered
fun Shop.getCustomersWithMoreUndeliveredOrders(): Set<Customer> {
return this.customers.filter{
val (del, undel) = it.orders.partition { it.isDelivered }
undel.size > del.size
}.toSet()
} | 0 | Kotlin | 0 | 0 | ba3c1e0df68ec972f203b090cc30b539e8ce10ce | 280 | Kotlin_Koans | MIT License |
test.kts | dryproject | 102,198,916 | false | null | #!/usr/bin/env kotlinc -script -classpath build/classes/main
import dry.*
println("OK")
| 0 | Kotlin | 0 | 4 | b38650ed3e33ce4e1bb6b35aa1c47bd27cd48bb5 | 90 | drylib.kt | The Unlicense |
android/app/src/main/kotlin/neil/vine/retrospective_reminder/MainActivity.kt | NeilVine | 437,246,525 | false | {"Dart": 19450, "Swift": 404, "Kotlin": 137, "Objective-C": 38} | package neil.vine.retrospective_reminder
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 2ef7b1d9f4f69792ef21a9b2488431a975f83c4b | 137 | retro-ideas | MIT License |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/models/pojo/apiv2/responses/FullConversationResponse.kt | feelfreelinux | 97,154,881 | false | null | package io.github.feelfreelinux.wykopmobilny.models.pojo.apiv2.responses
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import io.github.feelfreelinux.wykopmobilny.models.pojo.apiv2.common.ApiResponse
import io.github.feelfreelinux.wykopmobilny.models.... | 47 | Kotlin | 51 | 166 | ec6365b9570818a7ee00c5b512f01cedead30867 | 843 | WykopMobilny | MIT License |
app/src/main/kotlin/com/github/premnirmal/ticker/BaseApp.kt | dhartwich1991 | 53,314,399 | true | {"Kotlin": 151522, "Java": 15418} | package com.github.premnirmal.ticker
import android.support.multidex.MultiDexApplication
import com.github.premnirmal.tickerwidget.R
import uk.co.chrisjenx.calligraphy.CalligraphyConfig
/**
* Created by premnirmal on 2/26/16.
*/
abstract class BaseApp : MultiDexApplication() {
override fun onCreate() {
... | 0 | Kotlin | 0 | 0 | 3ede045776e6741a6b14b89d20b11736f2912ec5 | 642 | StockTicker | MIT License |
openai-client/client/src/commonMain/kotlin/com/xebia/functional/openai/models/CreateChatCompletionRequestModel.kt | xebia-functional | 629,411,216 | false | {"Kotlin": 4211913, "TypeScript": 67083, "Mustache": 15021, "CSS": 6570, "Java": 4360, "JavaScript": 1935, "HTML": 395} | /**
* Please note: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress("ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport")
package com.xebia.functional.openai.models
import kotlinx.serialization.*
... | 40 | Kotlin | 11 | 117 | 91b282c6d50aee58b27ad2676eaa77bee4d4036c | 3,057 | xef | Apache License 2.0 |
vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/config/ConfigRetriever.kt | Sammers21 | 142,990,532 | true | {"Kotlin": 1088656, "Java": 878672, "JavaScript": 76098, "Groovy": 22654, "Ruby": 14717, "FreeMarker": 254} | package io.vertx.kotlin.config
import io.vertx.config.ConfigChange
import io.vertx.config.ConfigRetriever
import io.vertx.core.json.JsonObject
import io.vertx.kotlin.coroutines.awaitEvent
import io.vertx.kotlin.coroutines.awaitResult
/**
* Reads the configuration from the different
* and computes the final configu... | 0 | Kotlin | 0 | 0 | bdf349e87e39aeec85cfbd1a53bae3cb3e420c55 | 1,138 | vertx-stack-generation | Apache License 2.0 |
app/src/main/java/com/dimowner/elections/AppConstants.kt | Dimowner | 173,108,250 | false | null | /*
* Copyright 2019 <NAME>
*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. The ASF licenses this
* file to you under the Apache License, Version 2.0 (... | 0 | Kotlin | 1 | 1 | ed6db9c18f1bba0c98bc7e091ea1190e0ff22a0f | 1,207 | Elections | Apache License 2.0 |
src/main/kotlin/de/davis/gradle/plugin/versioning/VersioningPlugin.kt | OffRange | 805,398,300 | false | {"Kotlin": 11720} | package de.davis.gradle.plugin.versioning
import com.android.build.api.dsl.ApplicationExtension
import io.github.z4kn4fein.semver.Version
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.artifacts.MinimalExternalModuleDependency
import org.gradle.api.artifacts.VersionCatalogsExtension
i... | 0 | Kotlin | 0 | 0 | 979576b179f64d1bd7971476f42a07d3f0e94eea | 2,418 | git-semver-gradle-plugin | MIT License |
feature-detail/src/main/java/com/emrekizil/feature_detail/DetailViewModel.kt | emrekizil | 843,741,704 | false | {"Kotlin": 85362} | package com.emrekizil.feature_detail
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.emrekizil.core_domain.DeleteMovieUseCase
import com.emrekizil.core_domain.GetMovieDetailByIdUseCase
import com.emrekizil.core_domain.GetSimilarMovieByIdUseCase
import com.emrekizil.core_domain.I... | 0 | Kotlin | 0 | 0 | a7fb637eb173e1d8c8b57821a226480fe4284e57 | 5,328 | MovieApp | Apache License 2.0 |
app/src/main/java/com/example/pokedek/presentasion/fragment/item/ItemFragment.kt | Alstonargodi | 442,473,206 | false | null | package com.example.pokedek.presentasion.fragment.item
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import androidx.fragment.app.viewModels
import androidx.recyclerview.widget.L... | 0 | Kotlin | 0 | 0 | a548138a792ff8d4954328553f3100f28fec6525 | 5,206 | Pokedex | Apache License 2.0 |
app/src/main/java/com/sakethh/arara/unreleased/currentMusicScreen/CurrentUnreleasedMusicScreen.kt | sakethpathike | 517,053,630 | false | null | package com.sakethh.arara.unreleased.currentMusicScreen
import android.annotation.SuppressLint
import androidx.activity.compose.BackHandler
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.Circ... | 0 | Kotlin | 0 | 0 | d0bffe832b47f6fac7d85831192a5a26e73158c0 | 18,161 | arara-android | MIT License |
src/com/oscuro/oscurojs/core/messaging/InboundMessage.kt | oscurojs | 219,148,868 | false | {"JavaScript": 381005, "Kotlin": 91620, "HTML": 2123, "Shell": 135} | /*
MIT License
Copyright (c) 2019 <NAME>
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, publish, d... | 3 | JavaScript | 0 | 0 | 937f83770909cbbea3cb7fd6c7f7be926bb017dc | 2,872 | oscuro-js | MIT License |
src/main/kotlin/mod/chloeprime/elytrabooster/common/util/RichTextSugar.kt | ChloePrime | 369,410,062 | false | null | package mod.chloeprime.elytrabooster.common.util
import net.minecraft.network.chat.*
import java.util.*
import java.util.function.UnaryOperator
/**
* @UE4
*/
@Suppress("FunctionName")
fun TEXT(string: String): MutableComponent =
if(string.isEmpty()) EMPTY_TEXT else TextComponent(string)
/**
* 空字符串对应的TextCompo... | 1 | Kotlin | 0 | 2 | 6751b17bc3b77bf816b4db0c223d86a53d3f96db | 2,133 | ElytraBooster | MIT License |
app/src/main/kotlin/uk/lobsterdoodle/namepicker/ui/OverviewCard.kt | fifersheep | 21,071,767 | false | null | package uk.lobsterdoodle.namepicker.ui
import android.content.Context
import android.support.v4.content.ContextCompat.getColor
import android.support.v7.widget.CardView
import android.support.v7.widget.PopupMenu
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.MenuItem
import and... | 0 | Kotlin | 0 | 0 | 94e3776e3515f4ce7192c9199d87fe4f368f7355 | 2,413 | android-names-in-a-hat | Apache License 2.0 |
coil-base/src/main/java/coil/memory/HardwareBitmapService.kt | hansenji | 206,822,775 | true | {"Kotlin": 305721, "IDL": 2767, "Shell": 2591} | package coil.memory
import android.graphics.Bitmap
import android.os.Build.VERSION.SDK_INT
import android.os.Build.VERSION_CODES.O
import android.os.Build.VERSION_CODES.O_MR1
import android.util.Log
import androidx.annotation.WorkerThread
import coil.size.PixelSize
import coil.size.Size
import coil.util.log
import jav... | 0 | null | 0 | 0 | f7264b38d24b4a3f05af8df1b0493fd161cbeec8 | 3,405 | coil | Apache License 2.0 |
wrapper-dsl/src/main/kotlin/com/ooooonly/mybatisplus/dsl/KtQUpdateWrapperDslBuilder.kt | only52607 | 344,524,252 | false | null | package com.ooooonly.mybatisplus.dsl
import com.baomidou.mybatisplus.extension.kotlin.KtUpdateWrapper
/**
* ClassName: KtQUpdateWrapperDslBuilder
* Description:
* date: 2021/3/8 21:30
* @author ooooonly
* @version
*/
class KtUpdateWrapperDslBuilder<T : Any>(baseWrapper: KtUpdateWrapper<T>) : AbstractKtWrapperDs... | 0 | Kotlin | 0 | 4 | 189222dbbaf75bff03d78aa769151aa58b46527b | 607 | mybatis-plus-ktx | Apache License 2.0 |
verik-compiler/src/main/kotlin/io/verik/compiler/target/declaration/TargetClass.kt | frwang96 | 269,980,078 | false | null | /*
* Copyright (c) 2021 Francis Wang
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 1 | 5 | f11e0e7404d0461ec8b8c5d5635b2a4f6278a1f6 | 4,656 | verik | Apache License 2.0 |
src/main/kotlin/com/example/models/Biblioteca.kt | natalyaaragao | 770,999,928 | false | {"Kotlin": 52544, "JavaScript": 25320, "CSS": 6508, "HTML": 361} | package com.example.models
import com.example.responses.BibliotecaResponse
import kotlinx.serialization.Serializable
@Serializable
data class Biblioteca(
val idBiblioteca: Int,
val nome: String,
val horarioFuncionamento: String,
val telefone: String,
val email: String,
val site: String,
va... | 7 | Kotlin | 0 | 0 | 6ac88d8a861b1b04ee36eecce92a3d996e7a7882 | 1,011 | library-system | MIT License |
domain/src/main/java/org/watsi/enrollment/domain/repositories/AdministrativeDivisionRepository.kt | Meso-Health | 227,515,211 | false | null | package org.watsi.enrollment.domain.repositories
import io.reactivex.Completable
import io.reactivex.Flowable
import org.watsi.enrollment.domain.entities.AdministrativeDivision
interface AdministrativeDivisionRepository {
fun allWithLevel(level: String): Flowable<List<AdministrativeDivision>>
fun fetch(): Com... | 0 | Kotlin | 3 | 1 | bba562b15e5e34d3239f417c45c6ec4755510c68 | 364 | meso-enrollment | Apache License 2.0 |
app/src/main/java/antuere/how_are_you/di/AppModule.kt | antuere | 526,507,044 | false | null | package antuere.how_are_you.di
import android.content.Context
import antuere.how_are_you.R
import antuere.how_are_you.presentation.base.ui_biometric_dialog.UIBiometricDialog
import com.google.android.gms.auth.api.signin.GoogleSignIn
import com.google.android.gms.auth.api.signin.GoogleSignInClient
import com.google.and... | 1 | Kotlin | 1 | 0 | e4aaf07995c61026b296243fe7b9c629e0c5223e | 2,057 | HowAreYou | Apache License 2.0 |
sample/navigation/src/main/kotlin/com/turo/nibel/sample/navigation/FeatureCNavigation.kt | open-turo | 667,584,375 | false | {"Kotlin": 102457} | package com.turo.nibel.sample.navigation
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import nibel.annotations.DestinationWithArgs
@Parcelize
data class FourthArgs(val inputText: String) : Parcelable
data class FourthScreenDestination(override val args: FourthArgs) : DestinationWithArgs<FourthArgs... | 1 | Kotlin | 1 | 79 | e66f29f9030fd6818d9cd2c15a78fc62c0885a23 | 322 | nibel | MIT License |
app/src/main/java/com/shinwan2/postmaker/util/BindingAdapters.kt | shinwan2 | 155,159,532 | false | null | package com.shinwan2.postmaker.util
import android.databinding.BindingAdapter
import android.support.design.widget.TextInputLayout
import android.support.v4.widget.SwipeRefreshLayout
import android.view.View
import android.view.ViewGroup
import java.util.ArrayDeque
@BindingAdapter("errorText")
fun setErrorMessage(vie... | 0 | Kotlin | 0 | 1 | e8cf85907ee254f1c6234620a2f7be3e29b660f5 | 1,183 | PostMaker | Apache License 2.0 |
KirraDungeonClient/src/main/kotlin/net/sakuragame/eternal/kirradungeon/client/compat/dragoncore/DungeonAPI.kt | Eternalland-Server | 569,813,142 | false | null | package net.sakuragame.eternal.kirradungeon.client.compat.dragoncore
import com.google.common.collect.Lists
import com.taylorswiftcn.megumi.uifactory.generate.function.SubmitParams
import ink.ptms.zaphkiel.ZaphkielAPI
import net.sakuragame.eternal.dragoncore.network.PacketSender
import net.sakuragame.eternal.kirradung... | 0 | Kotlin | 0 | 0 | 537f062f32d1b14cf26c89161a8efc178e596d14 | 3,061 | KirraDungeon | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/ffaero/openrocketassembler/FileFormat.kt | wildcat-rocketry | 313,389,669 | false | {"Kotlin": 162168} | package com.ffaero.openrocketassembler
import com.google.protobuf.ByteString
object FileFormat {
const val extension = "orka"
const val version = 2
val emptyORK: ByteString = ByteString.copyFrom(byteArrayOf(
0x1F, -0x75, 0x08, 0x00, 0x77, 0x19, -0x0A, 0x5F, 0x00, 0x03, -0x4D, -0x4F, -0x51, -0x38, -0x33,
... | 5 | Kotlin | 0 | 0 | 4c12948ed3b2fd5656a88ceb0cb2fcaa72d738ef | 1,018 | openrocket-assembler | MIT License |
src/year_2021/day_10/Day10Test.kt | scottschmitz | 572,656,097 | false | {"Kotlin": 195562} | package year_2021.day_10
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
internal class Day10Test {
private val sampleText = listOf(
"[({(<(())[]>[[{[]{<()<>>",
"[(()[<>])]({[<{<<[]>>(",
"{([(<{}[<>[]}>{[]{[(<()>",
"(((({<>}<{<{<>}{[]{[]{}",
"[[... | 0 | Kotlin | 0 | 0 | 3b5f3a14273e540a5b35f3ab1bcadc7ce76ddc5a | 811 | advent_of_code | Apache License 2.0 |
webinterface/src/jsMain/kotlin/App.kt | FraunhoferISST | 768,670,035 | false | {"Kotlin": 344552, "Dockerfile": 914, "JavaScript": 773, "HTML": 285} | /*
* Copyright (c) 2023-2024 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
*
* This work is licensed under the Fraunhofer License (on the basis of the MIT license)
* that can be found in the LICENSE file.
*/
import io.kvision.Application
import io.kvision.BootstrapCssModule
import io.kvisio... | 23 | Kotlin | 2 | 5 | 8434603ea68f9b454162a0273361fda58347d4de | 2,304 | TREND | MIT License |
app/src/main/java/xyz/teamgravity/unittest/RegistrationUtil.kt | raheemadamboev | 336,012,633 | false | {"Kotlin": 6410} | package xyz.teamgravity.unittest
object RegistrationUtil {
private val existingUsers = listOf("Raheem", "Nargeeza")
/**
* The input is not valid if...
* ...the username/password is empty
* ...the username is already taken
* ...the confirmed password is not same as the real password
*... | 0 | Kotlin | 0 | 0 | 96b95586c0a41ca878e6857ea2e577ecc26c87c5 | 852 | junit-test-app | Apache License 2.0 |
RichText/src/main/java/com/sik/richtext/RichEditText.kt | SilverIceKey | 672,860,437 | false | null | package com.sik.richtext
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Rect
import android.graphics.Typeface
import android.text.Editable
import android.text.Layout
import android.text.Spannable
import android.text.Span... | 0 | Kotlin | 0 | 0 | 21d0d71085769d3b5414dd54e8341258b5fd9ddc | 23,770 | RichText | MIT License |
feature/mobile/provider-info/src/main/kotlin/com/flixclusive/feature/mobile/provider/info/ProviderInfoScreenViewModel.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1933360, "Java": 18011} | package com.flixclusive.feature.mobile.provider.info
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.flixcl... | 25 | Kotlin | 26 | 325 | 7b6ada69290e1afc0deb6fb3d4a9ab7f79ea3fb2 | 5,329 | Flixclusive | MIT License |
core/src/main/kotlin/snitch/request/TypedRequestWrapper.kt | memoizr | 322,370,926 | false | null | package snitch.request
import snitch.response.CommonResponses
@JvmInline
value class TypedRequestWrapper<T : Any>(
val request: RequestWrapper,
): CommonResponses {
val body: T get() = request.body() as T
}
| 0 | Kotlin | 2 | 34 | 501b43074653207279fe3646a8f8519520967c3b | 217 | snitch | Apache License 2.0 |
cliente/app/src/main/java/gmarques/remotewincontrol/domain/funcoes/mouse/mousepad_gestos/EntradaCliqueDoisDedos.kt | GilianMarques | 583,554,045 | false | {"Kotlin": 114978, "Java": 103, "Batchfile": 60} | package gmarques.remotewincontrol.domain.funcoes.mouse.mousepad_gestos
import android.view.MotionEvent
import gmarques.remotewincontrol.domain.dtos.cliente.TIPO_EVENTO_CLIENTE
import gmarques.remotewincontrol.domain.funcoes.mouse.EntradaCallback
import gmarques.remotewincontrol.domain.dtos.cliente.DtoCliente
import ko... | 0 | Kotlin | 0 | 1 | 91c3464d2d845f9b09512d669450be68456f62e9 | 1,218 | RemoteWinControl | MIT License |
core/network/src/main/kotlin/com/example/network/service/SmsService.kt | zhouquancheng-dev | 678,103,314 | false | {"Kotlin": 205122, "HTML": 3900} | package com.example.network.service
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.Headers
import retrofit2.http.POST
import com.example.model.UserResponse
import com.example.model.SmsResponse
interface SmsService {
/**
* 存储验证码信息
* @param phoneNumber 手机号码
* ... | 0 | Kotlin | 0 | 0 | af4fd5feaa106297f1ce6fccc643fee28f9b2b80 | 1,242 | Itinerary-android | Apache License 2.0 |
packages/graalvm/src/main/kotlin/elide/runtime/gvm/internals/intrinsics/js/JsSymbol.kt | elide-dev | 506,113,888 | false | null | package elide.runtime.gvm.internals.intrinsics.js
import elide.runtime.intrinsics.js.Symbol
import kotlinx.serialization.Serializable
/**
* TBD.
*/
@Serializable
@JvmInline internal value class JsSymbol (override val symbol: String) :
Symbol,
Comparable<Symbol>,
java.io.Serializable {
/** Well-known JavaScr... | 36 | Kotlin | 4 | 33 | 91800dbbf291e65a91d451ed50c9673d82efd174 | 689 | elide | MIT License |
shop/app/src/main/java/id/kotlin/shop/login/LoginActivity.kt | budioktaviyan | 130,386,248 | false | null | package id.kotlin.shop.login
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.widget.Toast
import id.kotlin.shop.R
import id.kotlin.shop.data.user.User
import id.kotlin.shop.deps.ShopDepsProvider
import id.kotlin.shop.router.ShopRouter
import kotlinx.android.synthetic.main.activi... | 0 | Kotlin | 0 | 0 | 61f59ea0e8a5c3bcf239dfc18dee12dd3cf8441d | 1,457 | android-test-cases | MIT License |
app/src/main/java/com/heyanle/easybangumi4/plugin/js/extension/JSExtensionCryLoader.kt | easybangumiorg | 413,723,669 | false | {"Kotlin": 1490799, "Java": 761739, "Shell": 450} | package com.heyanle.easybangumi4.plugin.js.extension
import com.heyanle.easybangumi4.APP
import com.heyanle.easybangumi4.plugin.extension.ExtensionInfo
import com.heyanle.easybangumi4.plugin.extension.loader.ExtensionLoader
import com.heyanle.easybangumi4.plugin.extension.provider.FileJsExtensionProvider
import com.he... | 30 | Kotlin | 82 | 2,892 | e1f67cc997884e4f6e0e7074c2bae599d3996c9a | 1,638 | EasyBangumi | Apache License 2.0 |
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/solid/BxsLeftArrowCircle.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.boxicons.boxicons.solid
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphic... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,049 | compose-icon-collections | MIT License |
app/src/main/java/net/pters/learnopengl/android/scenes/lighting/Scene1Colors.kt | mpters | 340,861,805 | false | null | package net.pters.learnopengl.android.scenes.lighting
import android.content.Context
import android.opengl.GLES30.*
import com.curiouscreature.kotlin.math.Float3
import com.curiouscreature.kotlin.math.perspective
import com.curiouscreature.kotlin.math.scale
import com.curiouscreature.kotlin.math.translation
import net... | 0 | Kotlin | 2 | 6 | e12e776acbb9fe41e97d100c8cf05971400b33e5 | 5,131 | learnopengl-android | MIT License |
feature/settings/src/main/java/com/flexcode/wedate/settings/SettingsScreen.kt | Felix-Kariuki | 588,745,399 | false | null | /*
* Copyright 2023 <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 ... | 14 | Kotlin | 1 | 9 | 20a9b38cb4ae45572a248f819eca775e2d2f2678 | 12,511 | Mingle | Apache License 2.0 |
kotlin/src/commonMain/kotlin/dev/brella/amber/kotlin/string/parser/modifiers/KotlinTypeParameterModifierAppendable.kt | UnderMybrella | 630,935,125 | false | null | package dev.brella.amber.kotlin.string.parser.modifiers
import dev.brella.amber.kotlin.KotlinAppendable
import dev.brella.amber.kotlin.string.parser.KotlinAnnotationAppendable
public interface KotlinTypeParameterModifierAppendable<SELF : KotlinTypeParameterModifierAppendable<SELF>> :
KotlinAppendable<SELF>, Kotli... | 0 | Kotlin | 0 | 0 | 719160cd27bcddf1ea6db15c5ac4eba57fc6f070 | 434 | amber | MIT License |
src/main/kotlin/no/nav/syfo/behandler/domain/BehandlerKontor.kt | navikt | 378,118,189 | false | null | package no.nav.syfo.behandler.domain
import no.nav.syfo.domain.PartnerId
import no.nav.syfo.domain.Virksomhetsnummer
import java.time.OffsetDateTime
data class BehandlerKontor(
val partnerId: PartnerId,
val herId: Int?,
val navn: String?,
val adresse: String?,
val postnummer: String?,
val post... | 1 | Kotlin | 1 | 0 | 2855721889ccadcfa335a073a5a5d04574b628da | 602 | isdialogmelding | MIT License |
libs/security/example/app/src/main/kotlin/com/softwareplace/springsecurity/example/handler/AuthorizationHandlerImpl.kt | softwareplace | 749,152,259 | false | {"Kotlin": 201707, "Mustache": 12022, "Java": 4578, "Shell": 1291, "Makefile": 762} | package com.softwareplace.springsecurity.example.handler
import com.github.softwareplace.springboot.security.authorization.AuthorizationHandler
import org.springframework.stereotype.Component
@Component
class AuthorizationHandlerImpl : AuthorizationHandler
| 0 | Kotlin | 0 | 1 | 9d4c43c97b41cf5d645f3540af43b20b208968fd | 259 | springboot | Apache License 2.0 |
android/src/main/kotlin/com/producement/yubikit_flutter/piv/PivSignAction.kt | Producement | 482,778,301 | false | {"Kotlin": 65812, "Swift": 44223, "Dart": 28609, "Ruby": 2379, "Objective-C": 736} | package com.producement.yubikit_flutter.piv;
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import com.yubico.yubikit.android.ui.YubiKeyPromptActivity
import com.yubico.yubikit.core.application.CommandState
import com.yubico.yub... | 0 | Kotlin | 0 | 2 | facc0f4c53847c6522e0098d098b210b22032b43 | 3,014 | yubikit_flutter | MIT License |
window/window/src/androidTest/java/androidx/window/SidecarCompatTest.kt | lyxxman | 361,157,996 | true | {"Java Properties": 50, "Shell": 64, "INI": 3, "Text": 4537, "Gradle": 548, "Markdown": 80, "Ignore List": 36, "Java": 5433, "XML": 14068, "HTML": 17, "Kotlin": 4779, "Python": 33, "JSON": 46, "Proguard": 43, "Protocol Buffer Text Format": 54, "Protocol Buffer": 36, "CMake": 3, "C++": 5, "SVG": 4, "Ant Build System": 5... | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 0 | 7c1c1e4e879a602c7a4da894efed13e71b1cd124 | 22,628 | androidx | Apache License 2.0 |
maps-wrapper/src/main/java/maps/map/TileOverlay.kt | sandorbogyo | 491,430,310 | true | {"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Text": 2, "Ignore List": 3, "INI": 1, "Java": 79, "XML": 42, "Kotlin": 15, "Proguard": 1} | // Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 0 | Java | 0 | 0 | 1b8f7b47d54c8296a6dc7a7b5c9a2acf7902c414 | 3,060 | ComposeMapsWrapper | MIT License |
src/main/kotlin/uk/gov/justice/probation/courtcaseservice/service/ProbationCaseEngagementService.kt | ministryofjustice | 215,829,678 | false | {"Gradle": 2, "YAML": 32, "JSON": 162, "Dockerfile": 4, "Shell": 14, "Java Properties": 1, "Text": 5, "Ignore List": 1, "Batchfile": 1, "Markdown": 19, "SVG": 1, "Nginx": 2, "INI": 1, "Java": 409, "Kotlin": 100, "XML": 3, "SQL": 48, "reStructuredText": 6, "HTTP": 1, "PLpgSQL": 84, "Mustache": 2} | package uk.gov.justice.probation.courtcaseservice.service
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import uk.gov.justice.probation.courtcaseservice.client.model.DeliusOffenderDetail
import uk.gov.justice.probation.courtcaseservice.client.model.ProbationStatus... | 18 | Java | 0 | 0 | 0efe7628b07f60119b93658b15b07f797b55f078 | 2,452 | court-case-service | MIT License |
app/src/main/java/com/handstandsam/shoppingapp/features/itemdetail/ItemDetailPresenter.kt | MaTriXy | 121,965,877 | true | {"Kotlin": 82413} | package com.handstandsam.shoppingapp.features.itemdetail
import android.content.Intent
import com.handstandsam.shoppingapp.models.Item
import com.handstandsam.shoppingapp.repository.CheckoutCart
import com.handstandsam.shoppingapp.repository.SessionManager
import javax.inject.Inject
class ItemDetailPresenter(private ... | 0 | Kotlin | 0 | 0 | 7d4e6fcf91ea557a91807c20c700d7b772b27f7e | 1,065 | ShoppingApp | Apache License 2.0 |
GinGer/app/src/main/java/com/example/ginger/MainActivity.kt | shikhargupta442003 | 785,548,989 | false | {"Kotlin": 11179} | package com.example.ginger
import android.os.Bundle
import android.view.MenuItem
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.core.view.G... | 0 | Kotlin | 0 | 0 | a68f202d774285605a0b715745d2b3c837bf5636 | 2,680 | Vihaan007 | MIT License |
src/main/kotlin/com/solarexsoft/kotlinexercise/K5.7.kt | flyfire | 113,817,538 | false | null | package com.solarexsoft.kotlinexercise
import java.io.OutputStream
import java.nio.charset.Charset
import kotlin.math.log
/**
* Created by houruhou on 2018/11/7.
* Desc:
*/
fun log1(tag: String, target: OutputStream, message: String) {
target.write("$tag $message\n".toByteArray())
}
fun log2(tag: String) = fu... | 0 | Kotlin | 0 | 0 | 0fa02e6096bf8089f205d4423473d79593bad094 | 1,231 | JavaWithKotlin | Apache License 2.0 |
firestore/src/main/java/de/sipgate/federmappe/firestore/FirestoreTimestampDataNormalizer.kt | sipgate | 729,069,301 | false | {"Kotlin": 104510} | package de.sipgate.federmappe.firestore
import de.sipgate.federmappe.common.decoder.DataNormalizer
class FirestoreTimestampDataNormalizer : DataNormalizer {
override fun normalize(data: Map<String, Any?>): Map<String, Any?> =
data.normalizeStringMapNullable()
}
| 1 | Kotlin | 0 | 1 | d6cb7d137e82301bd59d70be8ec8b0ebae4b069d | 276 | federmappe | Apache License 2.0 |
app/src/main/java/bill/kanban/atomic/AtomicInterfaces.kt | emanuelmch | 129,978,558 | false | null | package bill.kanban.atomic
abstract class AtomicPresenter<Atom : Any, in Action : Any?> {
lateinit var currentState: Atom
private set
var view: AtomicView<Atom> = EmptyAtomicView()
private set
abstract val initialState: Atom
fun attach(view: AtomicView<Atom>) {
this.currentS... | 0 | Kotlin | 0 | 0 | 1a41731f90fd38690c5651031068455d007eee51 | 1,011 | KanbanLite | MIT License |
app/src/main/java/org/cocos2dx/lib/Cocos2dxEditText.kt | geode-sdk | 495,234,000 | false | {"Kotlin": 315657, "C++": 11054, "CMake": 1491} | package org.cocos2dx.lib
import android.content.Context
import android.view.KeyEvent
import androidx.appcompat.widget.AppCompatEditText
class Cocos2dxEditText(context: Context) : AppCompatEditText(context) {
var cocos2dxGLSurfaceView: Cocos2dxGLSurfaceView? = null
override fun onKeyDown(keyCode: Int, keyEven... | 6 | Kotlin | 19 | 45 | b60c564173161894599aec8db237cde1ffb8a3cc | 542 | android-launcher | Boost Software License 1.0 |
app/src/main/java/org/cocos2dx/lib/Cocos2dxEditText.kt | geode-sdk | 495,234,000 | false | {"Kotlin": 315657, "C++": 11054, "CMake": 1491} | package org.cocos2dx.lib
import android.content.Context
import android.view.KeyEvent
import androidx.appcompat.widget.AppCompatEditText
class Cocos2dxEditText(context: Context) : AppCompatEditText(context) {
var cocos2dxGLSurfaceView: Cocos2dxGLSurfaceView? = null
override fun onKeyDown(keyCode: Int, keyEven... | 6 | Kotlin | 19 | 45 | b60c564173161894599aec8db237cde1ffb8a3cc | 542 | android-launcher | Boost Software License 1.0 |
app-common/src/commonMain/kotlin/dev/garage/rpm/app/common/ui/base/BackHandler.kt | vchernyshov | 249,563,649 | false | null | package dev.garage.rpm.app.common.ui.base
interface BackHandler {
fun handleBack(): Boolean
} | 7 | Kotlin | 2 | 12 | 902dcd41c1aae758200f427b2a95968a53f33bad | 98 | reaktive-pm | MIT License |
BooksSearchApp/app/src/main/java/com/example/bookssearchapp/GetBook.kt | sad786 | 196,528,384 | false | null | package com.example.bookssearchapp
import android.net.Uri
import java.net.HttpURLConnection
import java.net.URL
import java.io.BufferedReader
import java.io.InputStreamReader
import java.io.IOException
import java.io.InputStream
class GetBook
{
companion object{
private const val WEB_URL = "https://www.goo... | 0 | Kotlin | 0 | 0 | b87caf8ac3668f96629677ed5342b89ac151629a | 1,752 | AndroidProjects | MIT License |
projects/make-recall-decisions-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/document/entity/Document.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 4250610, "HTML": 70066, "D2": 42781, "Ruby": 25921, "Shell": 19356, "SCSS": 6370, "HCL": 2712, "Dockerfile": 2447, "JavaScript": 1372, "Python": 268} | package uk.gov.justice.digital.hmpps.integrations.delius.document.entity
import jakarta.persistence.*
import org.hibernate.annotations.Immutable
import org.hibernate.annotations.SQLRestriction
import java.time.Instant
import java.time.ZonedDateTime
@Entity
@Immutable
@Table(name = "document")
@SQLRestriction("soft_de... | 3 | Kotlin | 0 | 2 | 76197df3761bc90253cbf0ec8854a9324d807a7c | 1,857 | hmpps-probation-integration-services | MIT License |
input/core/src/commonMain/kotlin/symphony/Visibility.kt | aSoft-Ltd | 632,021,007 | false | null | @file:JsExport
package symphony
import kollections.JsExport
sealed class Visibility {
object Visible : Visibility()
object Hidden : Visibility()
val isVisible get() = this is Visible
val isHidden get() = this is Hidden
} | 0 | Kotlin | 0 | 0 | 2cc87fa8e74c9602759117b4d854daaaf331be73 | 240 | symphony | MIT License |
cexup-data-storage/src/main/java/com/trian/data_storage/room/dao/NurseDao.kt | triandamai | 388,050,344 | false | null | package com.trian.data_storage.room.dao
import androidx.lifecycle.LiveData
import androidx.room.*
import com.trian.data_storage.room.entity.Nurse
@SuppressWarnings(RoomWarnings.CURSOR_MISMATCH)
@Dao
interface NurseDao {
@Query("SELECT * FROM tb_nurse")
fun allNurse(): LiveData<List<Nurse?>?>?
@Insert
... | 0 | null | 0 | 0 | dc904e6fcfae22774ef05a39cd3ead78d918fe3e | 434 | cexup-mobile-module | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.