path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/no/nav/familie/ks/sak/statistikk/stønadsstatistikk/PubliserVedtakTask.kt | navikt | 533,308,075 | false | {"Kotlin": 2778706, "Shell": 1039, "Dockerfile": 141} | package no.nav.familie.ks.sak.statistikk.stønadsstatistikk
import no.nav.familie.ks.sak.integrasjon.datavarehus.KafkaProducer
import no.nav.familie.ks.sak.statistikk.stønadsstatistikk.PubliserVedtakTask.Companion.TASK_STEP_TYPE
import no.nav.familie.prosessering.AsyncTaskStep
import no.nav.familie.prosessering.TaskSte... | 8 | Kotlin | 1 | 2 | f4d9399ceff883c7a14a481407038d41d071b169 | 1,659 | familie-ks-sak | MIT License |
kotlin-native/backend.native/tests/filecheck/objc_direct.kt | JetBrains | 3,432,266 | false | {"Kotlin": 73968610, "Java": 6672141, "Swift": 4257498, "C": 2622360, "C++": 1898765, "Objective-C": 641056, "Objective-C++": 167134, "JavaScript": 135706, "Python": 48402, "Shell": 31423, "TypeScript": 22754, "Lex": 18369, "Groovy": 17265, "Batchfile": 11693, "CSS": 11368, "Ruby": 6922, "EJS": 5241, "Dockerfile": 5136... | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
import direct.*
import kotlinx.cinterop.*
//CHECK-LABEL: kfun:#callDirect(){}kotlin.ULong
fun callDirect(): U... | 162 | Kotlin | 5729 | 46,436 | c902e5f56504e8572f9bc13f424de8bfb7f86d39 | 772 | kotlin | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/quickfix/suppress/availability/parameterSuppressForLambdaParameter.kt | ingokegel | 72,937,917 | false | null | // "Suppress 'UNUSED_ANONYMOUS_PARAMETER' for parameter a" "false"
// ACTION: Convert to anonymous function
// ACTION: Convert to lazy property
// ACTION: Convert to single-line lambda
// ACTION: Do not show implicit receiver and parameter hints
// ACTION: Enable a trailing comma by default in the formatter
// ACTION: ... | 249 | null | 5023 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 450 | intellij-community | Apache License 2.0 |
ktask-base/src/main/kotlin/ktask/base/settings/config/parser/ConfigClassMap.kt | perracodex | 810,476,641 | false | {"Kotlin": 273567, "JavaScript": 11106, "HTML": 8779, "CSS": 4693, "Dockerfile": 3127, "Java": 1017} | /*
* Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license.
*/
package ktask.base.settings.config.parser
import ktask.base.settings.annotation.ConfigurationAPI
import ktask.base.settings.config.ConfigurationCatalog
import ktask.base.settings.config.sections.DeploymentSettings
... | 0 | Kotlin | 0 | 1 | 75e85999f2f4141db2c230c26529a7d9db9b7e4b | 965 | KTask | MIT License |
shared/src/commonMain/kotlin/co/touchlab/kampstarter/Koin.kt | direstrepo24 | 264,791,709 | false | null | package co.touchlab.kampstarter
import co.touchlab.kampstarter.ktor.DogApiImpl
import co.touchlab.kampstarter.ktor.KtorApi
import org.koin.core.context.startKoin
import org.koin.core.module.Module
import org.koin.dsl.KoinAppDeclaration
import org.koin.dsl.module
fun initKoin(appDeclaration: KoinAppDeclaration = {}) =... | 0 | Kotlin | 0 | 0 | 1a849d873fc0f12fb945fdb146dc6eb6ce8606a4 | 533 | kampkit | Apache License 2.0 |
core/network/src/main/kotlin/com/flixclusive/core/network/retrofit/dto/tv/TMDBSeasonDto.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1637525, "Java": 18011} | package com.flixclusive.core.network.retrofit.dto.tv
import com.flixclusive.core.util.exception.safeCall
import com.flixclusive.core.util.film.isDateInFuture
import com.flixclusive.model.tmdb.Season
import com.google.gson.annotations.SerializedName
data class TMDBSeasonDto(
val _id: String,
@SerializedName("a... | 26 | Kotlin | 22 | 264 | 5128cac1ac119e84a6725fd655eb0da427964c5f | 880 | Flixclusive | MIT License |
tutorials/tutorial5/src/main/java/com/badoo/ribs/tutorials/tutorial5/rib/greetings_container/GreetingsContainerInteractor.kt | dariush-fathie | 370,315,818 | true | {"Kotlin": 1154178} | package com.badoo.ribs.tutorials.tutorial5.rib.greetings_container
import com.badoo.ribs.core.modality.BuildParams
import com.badoo.ribs.tutorials.tutorial5.rib.greetings_container.GreetingsContainer.Output.GreetingsSaid
import com.badoo.ribs.tutorials.tutorial5.rib.greetings_container.GreetingsContainerRouter.Configu... | 0 | Kotlin | 0 | 0 | d1635b60ad2610c122d88e3b8d179ebd5946dc7c | 1,427 | RIBs | Apache License 2.0 |
app/src/main/java/com/avaliadorimovel/details/interfaces/InterfaceDetailsView.kt | rolphmc | 350,545,871 | false | null | package com.avaliadorimovel.details.interfaces
interface InterfaceDetailsView {
fun setControls()
fun createSamples()
fun onValidationError()
fun navigateToResult(result: String)
} | 0 | Kotlin | 0 | 0 | 4222503f4be7ec3c224b4e089d1c4bb39df982fa | 197 | projeto-quanto-custa-seu-imovel | MIT License |
app/src/main/java/com/avaliadorimovel/details/interfaces/InterfaceDetailsView.kt | rolphmc | 350,545,871 | false | null | package com.avaliadorimovel.details.interfaces
interface InterfaceDetailsView {
fun setControls()
fun createSamples()
fun onValidationError()
fun navigateToResult(result: String)
} | 0 | Kotlin | 0 | 0 | 4222503f4be7ec3c224b4e089d1c4bb39df982fa | 197 | projeto-quanto-custa-seu-imovel | MIT License |
SDF/src/me/anno/sdf/SDFGroup.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.sdf
import me.anno.ecs.Entity
import me.anno.ecs.annotations.Range
import me.anno.ecs.components.mesh.TypeValue
import me.anno.ecs.prefab.PrefabSaveable
import me.anno.gpu.pipeline.Pipeline
import me.anno.gpu.shader.GLSLType
import me.anno.maths.Maths.SQRT1_2f
import me.anno.maths.Maths.clamp
import me... | 0 | Kotlin | 3 | 9 | 94bc7c74436aa567ec3c19f386dd67af0f1ced00 | 39,190 | RemsEngine | Apache License 2.0 |
library/src/androidTest/java/io/setapp/android/settings/client/SettingsMockContentResolver.kt | setapp-io | 411,024,636 | false | {"Kotlin": 29346, "Shell": 536} | package io.setapp.android.settings.client
import android.test.mock.MockContentResolver
internal class SettingsMockContentResolver : MockContentResolver()
| 0 | Kotlin | 0 | 3 | c89362fbb6131b0b663a21fbf9fe06b4cf14f36c | 156 | setapp-android-sdk | Apache License 2.0 |
compiler/testData/diagnostics/tests/PrimaryConstructors.kt | JakeWharton | 99,388,807 | false | null | // FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
class X {
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>val x : Int<!>
}
open class Y() {
val x : Int = 2
}
class Y1 {
val x : Int get() = 1
}
class Z : Y() {
}
//KT-650 Prohibit creating class without constructor.
class MyIterable<T> : Iterable<T>
{
override f... | 7 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 559 | kotlin | Apache License 2.0 |
ripple-core/src/test/java/com/ripple/crypto/keys/IVerifyingKeyTest.kt | sublimator | 16,341,429 | false | null | package com.ripple.crypto.keys
import com.ripple.crypto.Seed
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
class IVerifyingKeyTest {
@Test
fun fromEd25519Test() {
val seed = Seed.fromPassPhrase("niq")
.setEd25519()
h... | 17 | null | 7 | 7 | 909f983d9cfb379591d3b1abf6622840e4ffd2d1 | 1,047 | ripple-lib-java | ISC License |
src/main/kotlin/frc/chargers/hardware/sensors/imu/IMUSimulation.kt | frc-5160-the-chargers | 497,722,545 | false | {"Kotlin": 438322, "Java": 56704} | package frc.chargers.hardware.sensors.imu
import com.batterystaple.kmeasure.quantities.Angle
import edu.wpi.first.math.kinematics.ChassisSpeeds
/**
* Configures simulation for all IMUs.
*/
public fun configureIMUSimulation(
headingSupplier: () -> Angle = { Angle(0.0) },
chassisSpeedsSupplier: () -> ChassisS... | 3 | Kotlin | 0 | 2 | ef0bca03f00901ffcc5508981089edced59f91aa | 571 | ChargerLib | MIT License |
shared/src/commonMain/kotlin/engine/components/Card.kt | Startappz | 678,331,232 | false | null | package engine.components
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Experimenta... | 0 | Kotlin | 0 | 0 | 02495bd9159fc03cb7fb9ef90d8111cd19e2bcfe | 7,154 | UIConfigurationParser | Apache License 2.0 |
pager/src/main/java/com/angcyo/pager/ViewTransitionCallback.kt | angcyo | 229,037,615 | false | null | package com.angcyo.pager
import android.graphics.Color
import android.graphics.Rect
import android.view.View
import android.view.ViewGroup
import androidx.transition.*
import com.angcyo.library.L
import com.angcyo.picker.R
import com.angcyo.transition.ColorTransition
import com.angcyo.widget.DslViewHolder
import com.a... | 0 | null | 6 | 5 | 73c1ad1bef2dbaeb3cafe412f34c741da288e934 | 6,281 | UICore | MIT License |
node-kotlin/src/jsMain/kotlin/node/fs/rmdirSync.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
@file:JsModule("node:fs")
package node.fs
/**
* Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
*
* Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error
* on Windows and an `ENOTDIR` error on ... | 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 572 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/shuyu/github/kotlin/model/bean/IssueEvent.kt | CarGuo | 156,679,291 | false | null | package com.kk.hub.model.bean
import com.google.gson.annotations.SerializedName
import java.util.Date
class IssueEvent {
var id: String? = null
var user: User? = null
@SerializedName("created_at")
var createdAt: Date? = null
@SerializedName("updated_at")
var updatedAt: Date? = null
var ... | 4 | Kotlin | 232 | 1,312 | a8c0697f92dea388a3cf86aed26db12ddde640f5 | 531 | GSYGithubAppKotlin | Apache License 2.0 |
app/src/main/java/com/shuyu/github/kotlin/model/bean/IssueEvent.kt | CarGuo | 156,679,291 | false | null | package com.kk.hub.model.bean
import com.google.gson.annotations.SerializedName
import java.util.Date
class IssueEvent {
var id: String? = null
var user: User? = null
@SerializedName("created_at")
var createdAt: Date? = null
@SerializedName("updated_at")
var updatedAt: Date? = null
var ... | 4 | Kotlin | 232 | 1,312 | a8c0697f92dea388a3cf86aed26db12ddde640f5 | 531 | GSYGithubAppKotlin | Apache License 2.0 |
app/src/main/java/com/company/app/scenes/login/LoginFragment.kt | mt1729 | 192,827,563 | false | {"Kotlin": 19807} | package com.company.app.scenes.login
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.company.app.databinding.FragmentLoginBinding
import com.google.a... | 0 | Kotlin | 0 | 0 | f7a2e3da08cb29d7a2163832a10699c97d69bf16 | 1,539 | android-template-data-binding | MIT License |
app/src/main/java/com/example/returnpals/services/backend/ModelRepository.kt | BC-CS481-Capstone | 719,299,432 | false | {"Kotlin": 378665, "Java": 57406} | package com.example.returnpals.services.backend
import android.util.Log
import com.amplifyframework.api.graphql.model.ModelMutation
import com.amplifyframework.api.graphql.model.ModelQuery
import com.amplifyframework.core.Amplify
import com.amplifyframework.core.model.Model
/**
* Encapsulates create, read, update, a... | 26 | Kotlin | 0 | 0 | b9be2454004844edc5815e7e67db7a3ebe7c1c5f | 5,624 | ReturnPalsApp | MIT License |
kotlinsupplement/src/main/java/in/sarangal/kotlinsupplement/ActivityExtension.kt | thesarangal | 374,148,747 | false | null | package `in`.sarangal.kotlinsupplement
import android.app.Activity
import android.app.ActivityManager
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.prov... | 0 | Kotlin | 0 | 0 | f6b037efb1960a7c70248fc1d6c5bdc7592e1655 | 11,913 | kotlinsupplement | MIT License |
app/src/main/java/dev/hitools/noah/modules/sample/detail/androidx/coordinatorLayout/SampleCoordinatorLayoutFragment.kt | EHG613 | 389,940,695 | true | {"Kotlin": 1096191, "Java": 274915, "Python": 4980, "Shell": 505} | package dev.hitools.noah.modules.sample.detail.androidx.coordinatorLayout
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import dev.hitools.noah.R
import dev.hitools.noah.databinding.FSampleCoordinatorLayoutBinding
import dev.hitools.noah.modules.base.mvvm.view.AppBin... | 0 | null | 0 | 0 | be12dc9266810f3e64d55025e926a01b946c7228 | 980 | android-Common | Apache License 2.0 |
kamp-core/src/main/kotlin/ch/leadrian/samp/kamp/core/api/entity/HasPlayer.kt | Double-O-Seven | 142,487,686 | false | {"Kotlin": 3854710, "C": 23964, "C++": 23699, "Java": 4753, "Dockerfile": 769, "Objective-C": 328, "Batchfile": 189} | package ch.leadrian.samp.kamp.core.api.entity
interface HasPlayer {
val player: Player
} | 1 | Kotlin | 1 | 7 | af07b6048210ed6990e8b430b3a091dc6f64c6d9 | 95 | kamp | Apache License 2.0 |
vyne-query-service/src/test/java/com/orbitalhq/queryService/SavedQueryWithAuthPolicyIntegrationTest.kt | orbitalapi | 541,496,668 | false | {"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337} | package com.orbitalhq.queryService
import com.nhaarman.mockito_kotlin.any
import com.nhaarman.mockito_kotlin.whenever
import com.orbitalhq.AuthClaimType
import com.orbitalhq.PackageMetadata
import com.orbitalhq.UserType
import com.orbitalhq.VersionedSource
import com.orbitalhq.VyneProvider
import com.orbitalhq.cockpit... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 15,325 | orbital | Apache License 2.0 |
src/main/kotlin/com/imoonday/util/LearnableSkillData.kt | iMoonDay | 759,188,611 | false | {"Kotlin": 472390, "Java": 57363} | package com.imoonday.util
import com.imoonday.skill.Skill
import net.minecraft.nbt.NbtCompound
class LearnableSkillData(
private var choice: SkillChoice = SkillChoice.EMPTY,
var refreshed: Boolean = false,
var count: Int = 0,
) {
val first
get() = choice.first
val second
get() = c... | 0 | Kotlin | 0 | 0 | ae6a676e6caa7a1ad09231e263460c7144236699 | 2,497 | AdvancedSkills | Creative Commons Zero v1.0 Universal |
app/src/main/java/io/github/wulkanowy/ui/modules/timetable/TimetableDialog.kt | bujakpvp | 167,613,504 | true | {"Kotlin": 413721, "IDL": 131} | package io.github.wulkanowy.ui.modules.timetable
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import io.github.wulkanowy.R
import io.git... | 0 | Kotlin | 0 | 0 | 4da812af392ffbdf55960f8bb8d0d0f46721531b | 2,640 | wulkanowy | Apache License 2.0 |
example/src/test/java/com/mitteloupe/randomgenktexample/domain/GeneratePlanetarySystemUseCaseTest.kt | EranBoudjnah | 154,015,466 | false | null | package com.mitteloupe.randomgenktexample.domain
import com.mitteloupe.randomgenkt.RandomGen
import com.mitteloupe.randomgenktexample.data.generator.PlanetarySystemGeneratorFactory
import com.mitteloupe.randomgenktexample.data.model.planet.PlanetarySystem
import com.nhaarman.mockitokotlin2.given
import com.nhaarman.mo... | 0 | Kotlin | 0 | 28 | c5db0d07a3dda1b9215f767acde7f51d7c958070 | 1,831 | RandomGenKt | MIT License |
topic/topic-api/src/main/java/ru/softeg/slartus/forum.api/TopicAttachment.kt | slartus | 21,554,455 | false | {"HTML": 6951966, "CSS": 1246476, "Java": 1138597, "Kotlin": 744082, "JavaScript": 47541, "PHP": 3566, "Less": 1459} | package ru.softeg.slartus.forum.api
data class TopicAttachment(
val id: String,
val iconUrl: String,
val url: String,
val name: String,
val date: String,
val size: String,
val postUrl: String
) | 16 | HTML | 17 | 86 | 03dfdb68c1ade272cf84ff1c89dc182f7fe69c39 | 222 | 4pdaClient-plus | Apache License 2.0 |
bgw-net/bgw-net-server/src/main/kotlin/tools/aqua/bgw/net/server/service/FrontendService.kt | tudo-aqua | 377,420,862 | false | null | /*
* Copyright 2022-2024 The BoardGameWork Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 8 | null | 16 | 24 | 266db439e4443d10bc1ec7eb7d9032f29daf6981 | 1,943 | bgw | Apache License 2.0 |
app/src/test/java/com/gmail/bogumilmecel2/fitnessappv2/feature_summary/domain/use_case/HandleWeightDialogsQuestionUseCaseTest.kt | BogumilMecel | 499,018,800 | false | {"Kotlin": 808610} | package com.gmail.bogumilmecel2.fitnessappv2.feature_summary.domain.use_case
import com.gmail.bogumilmecel2.fitnessappv2.common.BaseTest
import com.gmail.bogumilmecel2.fitnessappv2.common.MockConstants
import com.gmail.bogumilmecel2.fitnessappv2.common.util.Resource
import com.gmail.bogumilmecel2.fitnessappv2.feature_... | 0 | Kotlin | 0 | 0 | f1036ca805dec913c5ca444d8efab87686442f39 | 2,986 | FitnessAppV2 | Apache License 2.0 |
app/src/main/java/com/sarlomps/evemento/event/transport/TransportFragment.kt | sarlomps | 176,547,309 | false | null | package com.hellfish.evemento.event.transport
import android.arch.lifecycle.Observer
import android.arch.lifecycle.ViewModelProviders
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Canvas
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import ... | 0 | Kotlin | 0 | 0 | ab68fd31df52e225f61073cad3f5e736a25caeb6 | 5,487 | evemento | MIT License |
one.lfa.updater.xml.spi/src/main/java/one/lfa/updater/xml/spi/SPIFormatXMLSerializerType.kt | AULFA | 189,855,520 | false | null | package one.lfa.updater.xml.spi
import java.io.Closeable
interface SPIFormatXMLSerializerType<T> : Closeable {
val contentClass: Class<T>
fun serialize(value: T)
} | 2 | null | 1 | 1 | 5cde488e4e9f9e60f5737d9e1a8fc8817f6b22a8 | 172 | updater | Apache License 2.0 |
app/src/main/java/com/guness/lottie/utils/compose/LazyListScopeExtensions.kt | guness | 449,084,007 | false | {"Kotlin": 117766} | package com.guness.lottie.utils.compose
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyItemScope
import androidx.compose.foundation... | 0 | Kotlin | 0 | 0 | 493c8288579fec02c1c8bdadf03e7196dbd3daee | 1,337 | lottiefiles | MIT License |
modules/api-types/src/commonTest-generated/kotlin/com/gw2tb/gw2api/types/v2/GW2v2PvPAmulet.kt | GW2ToolBelt | 117,367,550 | false | null | /*
* Copyright (c) 2018-2024 <NAME>
* MACHINE GENERATED FILE, DO NOT EDIT
*
* 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
... | 2 | null | 0 | 4 | 0343cbbb98c2a4c2ccba5976416e52977c4dc8ea | 11,235 | GW2APIClient | MIT License |
kotlin-eclipse-ui-test/testData/completion/handlers/insertFunctionWithBothParentheses.kt | bvfalcon | 263,980,575 | false | null | // KT-1968 Double closing parentheses entered when completing unit function
package some
fun test() = 12
fun test1()
val a = <caret>
// ELEMENT: test1 | 19 | null | 7 | 43 | e6360b023e1e377325f1d10bda5755e3fc3af591 | 153 | kotlin-eclipse | Apache License 2.0 |
app/src/main/java/com/neal786y/mvparchitecture/main/activity/RestaurantActivity.kt | neal786y | 249,264,913 | false | null | package com.neal786y.mvparchitecture.main.activity
import android.content.Intent
import android.location.Location
import android.os.Bundle
import android.util.Log
import android.view.View
import android.view.WindowManager
import androidx.recyclerview.widget.LinearLayoutManager
import com.neal786y.mvparchitecture.R
imp... | 0 | Kotlin | 0 | 0 | 69c201b439a2c7b12c1020fa213fa6a22988b886 | 6,415 | Lunching | Apache License 2.0 |
app/src/main/java/com/droidhats/campuscompass/roomdb/FavoritesDatabase.kt | RobertBeaudenon | 232,313,026 | false | null | package com.droidhats.campuscompass.roomdb
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.droidhats.campuscompass.models.FavoritePlace
@Database(entities = [FavoritePlace::class], version = 3, exportSchema = false)
abstract class Fav... | 4 | Kotlin | 4 | 7 | ea136a60a71f5d393f4a5688e86b9c56c6bea7b6 | 1,100 | SOEN390-CampusGuideMap | MIT License |
app/src/main/java/com/altaureum/covid/tracking/services/data/ChunkHeader.kt | jllarraz | 249,151,516 | false | null | package com.altaureum.covid.tracking.services.data
class ChunkHeader {
var packets:Int=0
} | 0 | Kotlin | 1 | 2 | 08f20f2de577e2fdf76dd8c45bcff9109a5c9b54 | 95 | CovidContactTracking | Apache License 2.0 |
rulebook-ktlint/src/test/kotlin/com/hanggrian/rulebook/ktlint/SwitchCaseBranchingRuleTest.kt | hanggrian | 556,969,715 | false | {"Kotlin": 270414, "Python": 71768, "Java": 18644, "CSS": 1653, "Groovy": 323} | package com.hanggrian.rulebook.ktlint
import com.hanggrian.rulebook.ktlint.SwitchCaseBranchingRule.Companion.MSG
import com.hanggrian.rulebook.ktlint.internals.Messages
import com.pinterest.ktlint.test.KtLintAssertThat.Companion.assertThatRule
import kotlin.test.Test
class SwitchCaseBranchingRuleTest {
private va... | 0 | Kotlin | 0 | 1 | a1283fc14004ac7c973c5312dede43035f10daa2 | 1,069 | rulebook | Apache License 2.0 |
src/test/kotlin/me/kuku/KotlinTest.kt | kukume | 505,702,930 | false | null | package me.kuku
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import kotlinx.coroutines.runBlocking
import me.kuku.utils.client
import org.junit.jupiter.api.Test
class KotlinTest {
@Test
fun test1() {
runBlocking {
val httpResponse = client.get("h... | 0 | Kotlin | 0 | 0 | aa4a25ac7d24acb9156ed1ede20385e53ae09d53 | 536 | utils | MIT License |
app/src/main/java/com/devspace/myapplication/detail/di/RecipeDetailModule.kt | victorashino | 822,841,572 | false | {"Kotlin": 64449} | package com.devspace.myapplication.detail.di
import com.devspace.myapplication.detail.data.DetailService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ViewModelComponent
import retrofit2.Retrofit
@Module
@InstallIn(ViewModelComponent::class)
class Recip... | 0 | Kotlin | 0 | 2 | 6251125b99c6aeecebc01205bb8199d0fd81d7ba | 487 | EasyRecipes | The Unlicense |
libraries/recyclerview-renders/src/main/java/com/simplecrud/recyclerviewrenders/interfaces/Builder.kt | keppra | 510,439,516 | false | {"Kotlin": 122424, "Java": 33124} | package com.simplecrud.recyclerviewrenders.interfaces
import com.simplecrud.recyclerviewrenders.renderer.Renderer
/**
* @author <NAME> <https:></https:>//github.com/Alexrs95>
*/
interface Builder<R : Renderable> {
/**
* @param id the ID of the layout
* @return an instance of the builder
*/
fu... | 0 | Kotlin | 0 | 0 | 67a6468860c57593e219f3942e1341198023b6e1 | 455 | simple-crud | MIT License |
modules/ktorium-datetime/src/commonTest/kotlinX/TimeZoneTest.kt | ktorium | 316,943,260 | false | {"Kotlin": 67933} | @file:Suppress("PackageDirectoryMismatch")
package org.ktorium.datetime
import kotlinx.datetime.TimeZone
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
class TimeZoneTest {
@Test
fun ofOrNull_validTimeZone_success() {
val expected = TimeZone.of("Europe/Berlin")... | 0 | Kotlin | 0 | 0 | 132a5ee0ffeba74a5587b6d51dfaf13bb80a6eeb | 542 | ktorium-kotlin | Apache License 2.0 |
data/seasons/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/seasons/api/SeasonsRepository.kt | thomaskioko | 361,393,353 | false | {"Kotlin": 598853, "Swift": 126057} | package com.thomaskioko.tvmaniac.seasons.api
import com.thomaskioko.tvmaniac.core.db.ShowSeasons
import com.thomaskioko.tvmaniac.util.model.Either
import com.thomaskioko.tvmaniac.util.model.Failure
import kotlinx.coroutines.flow.Flow
interface SeasonsRepository {
suspend fun fetchSeasonsByShowId(id: Long): List<Sho... | 7 | Kotlin | 21 | 160 | 3688733b00226f7ceb7dcb8b462bf074017462f7 | 414 | tv-maniac | Apache License 2.0 |
intellij-plugin-structure/structure-base/src/main/kotlin/com/jetbrains/plugin/structure/jar/PluginJar.kt | JetBrains | 3,686,654 | false | null | package com.jetbrains.plugin.structure.jar
import com.jetbrains.plugin.structure.base.plugin.IconTheme
import com.jetbrains.plugin.structure.base.plugin.PluginIcon
import com.jetbrains.plugin.structure.base.plugin.ThirdPartyDependency
import com.jetbrains.plugin.structure.base.plugin.parseThirdPartyDependenciesByPath
... | 4 | null | 47 | 178 | 8be19a2c67854545d719fe56f3677122481b372f | 3,515 | intellij-plugin-verifier | Apache License 2.0 |
src/commonMain/kotlin/com/ashampoo/kim/format/webp/chunk/WebPChunkVP8.kt | Ashampoo | 647,186,626 | false | null | /*
* Copyright 2024 Ashampoo GmbH & Co. KG
* Copyright 2007-2023 The Apache Software Foundation
*
* 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/... | 8 | null | 8 | 172 | 5e6cd23c52abf8c840b235eb68744a9ab135c235 | 3,714 | kim | Apache License 2.0 |
app/src/main/java/ch/abwesend/privatecontacts/domain/model/contactdata/Company.kt | fgubler | 462,182,037 | false | {"Kotlin": 1159351, "Java": 369326} | /*
* Private Contacts
* Copyright (c) 2022.
* <NAME>
*/
package ch.abwesend.privatecontacts.domain.model.contactdata
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Apartment
import ch.abwesend.privatecontacts.R
import ch.abwesend.privatecontacts.domain.model.ModelStatus... | 1 | Kotlin | 1 | 9 | 52f679a7803883e6c2530e0fb642049631201656 | 2,579 | PrivateContacts | Apache License 2.0 |
app/src/main/java/ch/abwesend/privatecontacts/domain/model/contactdata/Company.kt | fgubler | 462,182,037 | false | {"Kotlin": 1159351, "Java": 369326} | /*
* Private Contacts
* Copyright (c) 2022.
* <NAME>
*/
package ch.abwesend.privatecontacts.domain.model.contactdata
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Apartment
import ch.abwesend.privatecontacts.R
import ch.abwesend.privatecontacts.domain.model.ModelStatus... | 1 | Kotlin | 1 | 9 | 52f679a7803883e6c2530e0fb642049631201656 | 2,579 | PrivateContacts | Apache License 2.0 |
src/main/kotlin/application/service/PatientServices.kt | SmartOperatingBlock | 606,908,179 | false | null | /*
* Copyright (c) 2023. Smart Operating Block
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package application.service
import entity.Patient
import entity.PatientData.TaxCode
import usecase.repository.Pat... | 2 | Kotlin | 0 | 0 | 3c8ad933b959e6b2ced8dc892094d393cdac566e | 1,625 | patient-management-integration-microservice | MIT License |
sdk/src/test/kotlin/com/processout/sdk/config/TestConstants.kt | processout | 117,821,122 | false | {"Kotlin": 804764, "Java": 85526, "Shell": 696} | package com.processout.sdk.config
internal const val PROCESSOUT_GATEWAY_CONFIGURATION_ID = "gway_conf_VJEp8Y6ZCqiiwkSa3JioJrwdVM3bVgJd"
| 0 | Kotlin | 5 | 2 | 9faf6fc6db47aa2119febc59423acd359c408fb8 | 137 | processout-android | MIT License |
code/app/src/main/java/com/tanfra/shopmob/smob/ui/planning/lists/PlanningListsTableFragment.kt | fwornle | 440,434,944 | false | null | package com.tanfra.shopmob.smob.ui.planning.lists
import android.os.Bundle
import android.view.*
import androidx.databinding.DataBindingUtil
import com.tanfra.shopmob.R
import com.tanfra.shopmob.smob.ui.base.BaseFragment
import com.tanfra.shopmob.smob.ui.base.NavigationCommand
import com.tanfra.shopmob.utils.setDispla... | 0 | Kotlin | 0 | 0 | e202df0b49a3a499cedf2b36df5c887dda828c0f | 8,171 | ShopMob | MIT License |
platform/lang-impl/src/com/intellij/psi/impl/source/tree/injected/changesHandler/CommonInjectedFileChangesHandler.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-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 file.
package com.intellij.psi.impl.source.tree.injected.changesHandler
import com.intellij.openapi.diagnostic.Attachment
import com.intellij.openapi.diagnostic.RuntimeExceptionWithAtt... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 9,099 | intellij-community | Apache License 2.0 |
stellaris-modding-support/src/main/kotlin/com/windea/plugin/idea/stellaris/script/editor/StellarisScriptDescriptionProvider.kt | DragonKnightOfBreeze | 271,196,420 | false | null | package com.windea.plugin.idea.stellaris.script.editor
import com.intellij.psi.*
import com.intellij.usageView.*
import com.windea.plugin.idea.stellaris.*
import com.windea.plugin.idea.stellaris.script.psi.*
class StellarisScriptDescriptionProvider: ElementDescriptionProvider {
override fun getElementDescription(ele... | 1 | Kotlin | 2 | 4 | abadd50d6fba765e64995f27d525270d4907efed | 759 | Idea-Plugins | MIT License |
stellaris-modding-support/src/main/kotlin/com/windea/plugin/idea/stellaris/script/editor/StellarisScriptDescriptionProvider.kt | DragonKnightOfBreeze | 271,196,420 | false | null | package com.windea.plugin.idea.stellaris.script.editor
import com.intellij.psi.*
import com.intellij.usageView.*
import com.windea.plugin.idea.stellaris.*
import com.windea.plugin.idea.stellaris.script.psi.*
class StellarisScriptDescriptionProvider: ElementDescriptionProvider {
override fun getElementDescription(ele... | 1 | Kotlin | 2 | 4 | abadd50d6fba765e64995f27d525270d4907efed | 759 | Idea-Plugins | MIT License |
app/src/main/java/com/example/myapplication/MainActivity.kt | ArthurMitsuo | 676,304,718 | false | null | package com.example.myapplication
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.TextView
import android.widget.Button
import android.widget.CheckBox
import android.widget.ImageView
import android.widget.Toast
class MainActivity : AppCompatActiv... | 0 | Kotlin | 0 | 0 | 460da7b937e526c1ce401e01a5fe0d72e424faa4 | 2,168 | meuProjetoAndroid | Apache License 2.0 |
app/src/main/java/com/example/myapplication/MainActivity.kt | ArthurMitsuo | 676,304,718 | false | null | package com.example.myapplication
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.TextView
import android.widget.Button
import android.widget.CheckBox
import android.widget.ImageView
import android.widget.Toast
class MainActivity : AppCompatActiv... | 0 | Kotlin | 0 | 0 | 460da7b937e526c1ce401e01a5fe0d72e424faa4 | 2,168 | meuProjetoAndroid | Apache License 2.0 |
app/src/main/java/com/sahu/playground/Playground.kt | sahruday | 824,622,867 | false | {"Kotlin": 61507} | package com.sahu.playground
import android.app.Application
import android.util.Log
import android.widget.Toast
import com.google.android.gms.tasks.OnCompleteListener
import com.google.firebase.FirebaseApp
import com.google.firebase.messaging.FirebaseMessaging
import com.sahu.playground.appUtil.NotificationChannelManag... | 0 | Kotlin | 0 | 0 | f0a737920b926eca6e452086327df7a23e34b0e4 | 1,355 | playground | MIT License |
castled-notifications/src/main/java/io/castled/android/notifications/workmanager/models/CastledNetworkRequest.kt | castledio | 525,047,434 | false | {"Kotlin": 305550, "HTML": 28150, "Java": 18371, "JavaScript": 1717} | package io.castled.android.notifications.workmanager.models
import kotlinx.serialization.Polymorphic
import kotlinx.serialization.Serializable
@Serializable
@Polymorphic
internal sealed class CastledNetworkRequest {
abstract val requestType: CastledNetworkRequestType
}
| 0 | Kotlin | 2 | 3 | 0109de7ce414d97742993786a0a4d9ba99b9425e | 276 | castled-notifications-android | MIT License |
src/main/kotlin/io/github/light0x00/lightjson/internal/Toolkit.kt | light0x00 | 618,861,123 | false | null | package io.github.light0x00.lightjson.internal
import java.util.*
import kotlin.collections.ArrayList
import kotlin.collections.HashMap
import kotlin.collections.HashSet
//import java.util.*
fun readUnexpectedErrorMsg(reader: IReader, actual: String, expected: String): String {
return """
|${expe... | 0 | Kotlin | 0 | 0 | 527695909ebff1f37e9d8965550442f55149a878 | 2,057 | light-json | MIT License |
src/main/kotlin/com/example/cms/domains/sitepages/models/dtos/SitePageDto.kt | teambankrupt | 378,458,792 | false | {"Kotlin": 100695, "HTML": 43301, "Java": 554} | package com.example.cms.domains.sitepages.models.dtos
import com.example.coreweb.domains.base.models.dtos.BaseDto
import com.fasterxml.jackson.annotation.JsonProperty
import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.Min
import javax.validation.constraints.NotBlank
import javax.validat... | 0 | Kotlin | 1 | 1 | 5bcc19e8a675781ea26ac27c6d12fe74d801322a | 982 | cms | Apache License 2.0 |
buildSrc/src/main/kotlin/Libs.kt | juanchosandox90 | 243,320,800 | false | null | object Libs {
object Kotlin {
const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"
object Coroutines {
const val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutines}"
const val android = "org.jetbrains.kotlinx:kotlinx-... | 0 | Kotlin | 0 | 0 | 0528c7fd53936303519a8c01c5839fe394468f8e | 3,612 | ChipperRedditTest | Apache License 2.0 |
src/main/kotlin/dev/zlagi/application/model/request/RefreshTokenRequest.kt | Zlagi | 470,380,982 | false | {"Kotlin": 77094, "Procfile": 45} | package dev.zlagi.application.model.request
import kotlinx.serialization.Serializable
@Serializable
data class RefreshTokenRequest(
val token: String
) | 1 | Kotlin | 2 | 41 | 16e6462cafc347dff822b7dac42449f62e269e66 | 157 | Blogfy-api | Apache License 2.0 |
src/test/kotlin/ch/derlin/dcvizmermaid/renderers/MermaidRendererTest.kt | derlin | 408,822,160 | false | {"Kotlin": 80536, "Dockerfile": 889, "Makefile": 773, "Shell": 408} | package ch.derlin.dcvizmermaid.renderers
import assertk.assertThat
import assertk.assertions.contains
import assertk.assertions.isGreaterThan
import assertk.assertions.isNotNull
import assertk.assertions.isTrue
import ch.derlin.dcvizmermaid.graph.GraphTheme
import dummyGraph
import isJpeg
import isSvg
import org.junit... | 5 | Kotlin | 3 | 32 | 0cc5e7c3065d527e8c9e2bdfe4a7a07cf7140d38 | 2,158 | docker-compose-viz-mermaid | MIT License |
MultiActivity/app/src/main/java/com/example/multiactivity/SecondActivityActivity.kt | tiszczesz | 555,715,986 | false | null | package com.example.multiactivity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class SecondActivityActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.second_activity)
}
} | 1 | Kotlin | 0 | 3 | 3f9eecde821c471cd9856b52056f6a1785d13b3a | 319 | Mobilne_kurs_2022_23 | MIT License |
src/main/kotlin/de/huddeldaddel/euler/Problem052.kt | huddeldaddel | 171,357,298 | false | null | package de.huddeldaddel.euler
import de.huddeldaddel.euler.extensions.isPermutationOf
import kotlin.system.exitProcess
/**
* Solution for https://projecteuler.net/problem=52
*/
fun main() {
var base = 1L
var num = base
while(true) {
while(num.toString().startsWith("1")) {
if(isMatch(... | 0 | Kotlin | 1 | 0 | df514adde8c62481d59e78a44060dc80703b8f9f | 725 | euler | MIT License |
Sauti/app/src/main/java/com/labs/sauti/view_state/dashboard/FavoritesViewState.kt | labs14-sauti-android | 196,241,962 | false | null | package com.labs.sauti.view_state.dashboard
class FavoritesViewState(
var isLoading: Boolean = false,
var favorites: MutableList<Any>? = null
) | 0 | Kotlin | 1 | 3 | c129424dc65db7a437e20e9dd35564b7b7fd3c2d | 152 | sauti-android | MIT License |
src/main/kotlin/org/gamekins/statistics/Statistics.kt | jenkinsci | 452,610,454 | false | {"Kotlin": 688455, "JavaScript": 24388, "CSS": 1712, "HTML": 777} | /*
* Copyright 2021 Gamekins 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 law or agreed t... | 0 | Kotlin | 3 | 4 | 7b8ecc3e94cd2c18a377587d276f532284b47e9b | 13,515 | gamekins-plugin | Apache License 2.0 |
app/src/main/java/com/example/omdb/data/firebase/fcm/FirebaseMessagingServiceClass.kt | Pro-55 | 195,038,410 | false | null | package com.example.omdb.data.firebase.fcm
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.graphics.Color
import android.os.Bundle
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManag... | 0 | null | 0 | 1 | dc72f1773730f2777a542818e06a0fac5fa99101 | 4,801 | OMDb | Apache License 2.0 |
src/test/kotlin/unibz/cs/semint/kprime/domain/dql/QueryTest.kt | kprime-dev | 722,929,885 | false | {"Kotlin": 383495, "XSLT": 1078, "HTML": 372, "Makefile": 218} | package unibz.cs.semint.kprime.domain.dql
import junit.framework.Assert.assertEquals
import org.junit.Test
import unibz.cs.semint.kprime.adapter.service.XMLSerializerJacksonAdapter
import unibz.cs.semint.kprime.domain.db.Database
import unibz.cs.semint.kprime.domain.db.SchemaCmdParser
import unibz.cs.semint.kprime.use... | 0 | Kotlin | 0 | 0 | 34ceb56e3da8b2e64329c7655d50f40400487f25 | 10,812 | kprime-arm | MIT License |
framework/src/main/java/com/example/framework/extension/ActivityExtension.kt | samyoney | 783,208,332 | false | {"Kotlin": 136569} | package com.example.framework.extension
import android.app.Activity
import android.content.pm.ActivityInfo
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentManager
import com.example.framework.Buil... | 0 | Kotlin | 0 | 7 | 38ebae18cd04f7533f151885746f8b90cef0099a | 1,982 | compose_clean_base | MIT License |
app/src/main/java/com/xwq/companyvxwhelper/bean/ResponseBean/PublicRsaResponse.kt | aidenpierce2 | 421,354,234 | false | null | package com.xwq.companyvxwhelper.bean.ResponseBean
import com.xwq.companyvxwhelper.base.BaseEntity
data class PublicRsaResponse(var publicRsa : String, var keyUUID: String) : BaseEntity() {
}
| 0 | Kotlin | 0 | 0 | f3dea6373b9a48e9fbbd69dba8a27da10d6569b3 | 195 | companyvxwhelper | MIT License |
iris-mock-compiler/src/main/kotlin/dev/arildo/iris/plugin/codegen/IrisMockModuleDescriptorImpl.kt | arildojr7 | 634,544,161 | false | null | package dev.arildo.iris.plugin.codegen
import dev.arildo.iris.plugin.codegen.ClassReference.Descriptor
import dev.arildo.iris.plugin.codegen.ClassReference.Psi
import dev.arildo.iris.plugin.codegen.IrisMockModuleDescriptorImpl.ClassReferenceCacheKey.Companion.toClassReferenceCacheKey
import dev.arildo.iris.plugin.util... | 4 | null | 3 | 56 | 884745b47387c64241447582c1b893960739e122 | 5,274 | iris-mock | Apache License 2.0 |
app/src/main/java/space/taran/arkretouch/data/ImageDefaults.kt | ARK-Builders | 553,609,385 | false | null | package dev.arkbuilders.arkretouch.data
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.IntSize
import kotlinx.serialization.Serializable
@Serializable
data class ImageDefaults(
val colorValue: ULong = Color.White.value,
val resolution: Resolution? = null
)
@Serializable
data class ... | 21 | null | 1 | 1 | 6f1f6158a37ffa20314c387339eca715f285056e | 549 | ARK-Retouch | MIT License |
src/main/kotlin/com/droid/explorer/command/shell/impl/Remove.kt | jonatino | 56,899,891 | false | {"Kotlin": 40686, "CSS": 9445, "Batchfile": 318} | /*
* Copyright 2016 <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 ... | 1 | Kotlin | 8 | 34 | 6a39d7f72b7d3c8d3709dd3489f6ef47afa1f80d | 907 | Droid-Explorer | Apache License 2.0 |
androiddata/src/main/java/com/wiseassblog/androiddata/data/DataExtensions.kt | BracketCove | 84,023,304 | false | null | package com.wiseassblog.androiddata.data
import com.wiseassblog.androiddata.data.realmmodel.RealmReminder
import com.wiseassblog.domain.domainmodel.Reminder
import java.util.*
internal val RealmReminder.toReminder: Reminder
get() = Reminder(
this.reminderId,
this.reminderTitle,
this.isActi... | 1 | Kotlin | 36 | 85 | 66136bf7b3e173d964dc15729f982293189b2ee2 | 971 | PosTrainer | Apache License 2.0 |
app/src/main/java/me/mitul/aij/home/UniversityListActivity.kt | mitulvaghamshi | 555,605,505 | false | {"Kotlin": 99663} | package me.mitul.aij.home
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.AdapterView.OnItemClickListener
import android.widget.EditText
import android.widget.ListView
import android.widget.TextView
import me.mitul.aij.R
import me.mitul.... | 0 | Kotlin | 0 | 0 | 322df9b37045da04dfe9fb6f488a2d100540ba30 | 1,975 | AIJ | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/execution/sam/LocalLambdaRunSettings.kt | JetBrains | 223,485,227 | false | null | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.lambda.execution.sam
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.util.PathMappingSettings.PathMapping
import software.amazon.awssdk.ser... | 7 | null | 4 | 9 | ccee3307fe58ad48f93cd780d4378c336ee20548 | 3,247 | aws-toolkit-jetbrains | Apache License 2.0 |
filesystem/src/jvmMain/kotlin/ext/FileSystemByteBufferExt.kt | illarionov | 848,247,126 | false | {"Kotlin": 1343464, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.filesystem.ext
import at.... | 0 | Kotlin | 0 | 4 | 774f9d4fc1c05080636888c4fe03049fdb038a8d | 513 | wasi-emscripten-host | Apache License 2.0 |
examples/kotlin/src/main/kotlin/com/xebia/functional/xef/auto/Population.kt | xebia-functional | 629,411,216 | false | null | package com.xebia.functional.xef.auto
import com.xebia.functional.xef.auto.llm.openai.getOrElse
import com.xebia.functional.xef.auto.llm.openai.image
import kotlinx.serialization.Serializable
@Serializable
data class Population(val size: Int, val description: String)
@Serializable
data class Image(
val descripti... | 7 | null | 7 | 85 | 19243b04b107990c9cf549703d7e9d738aab0444 | 474 | xef | Apache License 2.0 |
simplified-tests/src/test/java/org/nypl/simplified/tests/mocking/MockAnalytics.kt | ThePalaceProject | 367,082,997 | false | null | package org.nypl.simplified.tests
import org.nypl.simplified.analytics.api.AnalyticsEvent
import org.nypl.simplified.analytics.api.AnalyticsType
class MockAnalytics : AnalyticsType {
override fun publishEvent(event: AnalyticsEvent) {
}
}
| 1 | null | 4 | 8 | 95ea5f21c6408207eddccb7210721743d57a500f | 244 | android-core | Apache License 2.0 |
app/src/main/java/org/haidy/servify/presentation/screens/settings/SettingsRoute.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.presentation.screens.settings
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import org.haidy.servify.app.navigation.ServifyDestination
private const val ROUTE = ServifyDestination.SETTINGS
fun NavController.... | 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 606 | Servify | Apache License 2.0 |
compiler/testData/codegen/box/classes/inner/kt6708.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND_FIR: JVM_IR
open class A() {
open inner class InnerA
}
class B : A() {
inner class InnerB : A.InnerA()
}
fun box(): String {
B().InnerB()
return "OK"
}
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 188 | kotlin | Apache License 2.0 |
Week9/app/src/main/java/com/em4n0101/mytvshows/view/showdetail/CastAdapter.kt | em4n0101 | 268,436,903 | false | null | package com.em4n0101.mytvshows.ui.showdetail
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.em4n0101.mytvshows.R
import com.em4n0101.mytvshows.model.response.CastForShowResponse
class CastAdapter(private val onCastClicked: (CastForShowRespo... | 0 | Kotlin | 0 | 1 | 4f1ebb9d68091ef741ac69f2f46e16f512401de2 | 1,050 | AndroidBootcampSummer2020 | Apache License 2.0 |
app/src/main/java/com/razeware/emitron/ui/download/workers/UpdateDownloadWorker.kt | razeware | 192,712,585 | false | null | package com.razeware.emitron.ui.download.workers
import android.content.Context
import androidx.hilt.work.HiltWorker
import androidx.work.*
import com.razeware.emitron.data.download.DownloadRepository
import com.razeware.emitron.model.DownloadProgress
import com.razeware.emitron.model.DownloadState
import com.razeware... | 30 | null | 31 | 53 | 4dcb00f09eee2ae1ff0a6c9c2e2dd141227b51c4 | 2,750 | emitron-Android | Apache License 2.0 |
main/src/kotlinx/team/infra/NativeMultiplatform.kt | Kotlin | 172,077,797 | false | {"Kotlin": 38592} | package kotlinx.team.infra
import groovy.lang.*
import org.gradle.api.*
import org.gradle.api.plugins.*
import org.gradle.util.*
import org.jetbrains.kotlin.gradle.dsl.*
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
import org.jetbrains.kotlin.gradle.plugin.mpp.*
import org.jetbrains.kotlin.konan.target.*
... | 1 | Kotlin | 8 | 10 | 50c83f793b1a24932023b2ca9ac568b0c52e4863 | 6,603 | kotlinx.team.infra | Apache License 2.0 |
presentation/src/main/java/dev/olog/basil/presentation/base/ImageModel.kt | ologe | 167,401,725 | false | null | package dev.olog.basil.presentation.base
data class ImageModel(
override val id: Int,
override val type: Int,
val image: String
) : BaseModel | 2 | Kotlin | 3 | 11 | c8c3f7991e4fec934d7e1a3018ee6a1be7862dd8 | 154 | basil | MIT License |
app-core/src/main/kotlin/ru/micron/security/CustomUserDetails.kt | m1cron | 326,198,639 | false | null | package ru.micron.security
import org.springframework.security.core.GrantedAuthority
import org.springframework.security.core.userdetails.UserDetails
import java.util.*
data class CustomUserDetails(
var uuid: UUID,
private val username: String,
private val password: String,
private val isEnabled: Bool... | 0 | Kotlin | 1 | 4 | dde2817edbe5e20f539804d1e9ccbec7c27330d3 | 820 | films_catalog | MIT License |
app/src/test/java/io/benic/shoppinglist/viewmodel/ItemViewModelTest.kt | BBenicio | 325,425,619 | false | null | package io.benic.shoppinglist.viewmodel
import androidx.lifecycle.MutableLiveData
import io.benic.shoppinglist.model.Item
import io.benic.shoppinglist.model.ShoppingCart
import io.benic.shoppinglist.repository.ItemRepository
import io.benic.shoppinglist.repository.ShoppingCartRepository
import org.junit.Before
import ... | 0 | Kotlin | 0 | 0 | f1ee39e0ef2e61c0a78066483918c51a15d9223f | 2,382 | shoppinglist | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/VideoChatSharp.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/VideoChatSharp")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val VideoChatSharp: SvgIconComponent
| 1 | Kotlin | 5 | 35 | eb68a042133a7d025aef8450151ee0150cbc9b1b | 210 | mui-kotlin | Apache License 2.0 |
core/src/commonMain/kotlin/it/unibo/tuprolog/argumentation/core/model/Support.kt | tuProlog | 333,103,830 | false | {"Kotlin": 300090, "Prolog": 61781, "JavaScript": 917, "Java": 258} | package it.unibo.tuprolog.argumentation.core.model
import it.unibo.tuprolog.core.Struct
import it.unibo.tuprolog.core.Term
import it.unibo.tuprolog.core.parsing.parse
data class Support(val supporter: Argument, val supported: Argument) {
override fun toString(): String {
return "support(${supporter.termRe... | 15 | Kotlin | 0 | 6 | 2cf65e2f1c94bc625447a10f12e765a20245bdcc | 458 | arg2p-kt | MIT License |
app/src/main/java/com/ecjtu/sharebox/MainApplication.kt | xulele | 98,136,422 | true | {"JavaScript": 493766, "HTML": 409276, "CSS": 352097, "Java": 252722, "Kotlin": 91753} | package com.ecjtu.sharebox
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.Intent
import android.os.Environment
import com.bumptech.glide.Glide
import com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
import com.bumptech.glide.load.DecodeFormat
im... | 0 | JavaScript | 0 | 0 | 2f8dfbb783c3df8f0e4d20773ce22ba97fa8dfd9 | 2,922 | ShareBox | Apache License 2.0 |
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/UseRequireSpec.kt | dector | 212,993,385 | false | null | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.test.assertThat
import io.gitlab.arturbosch.detekt.test.lint
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
class UseRequireSpec : Spek({
... | 0 | null | 0 | 1 | 0706bb359dcb39bf113cbb87d08e6639a8acc7de | 4,942 | detekt | Apache License 2.0 |
feature/accounts/src/main/java/org/expenny/feature/accounts/AccountsListScreen.kt | expenny-application | 712,607,222 | false | {"Kotlin": 933192} | package org.expenny.feature.accounts
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.hilt.navigation.compose.hiltViewModel
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta... | 0 | Kotlin | 4 | 40 | d6502acbd44adeb9597ae2a9c0d628168af2ec7a | 1,844 | expenny-android | Apache License 2.0 |
src/test/kotlin/no/nav/bidrag/vedtak/BidragVedtakTestConfig.kt | navikt | 331,260,160 | false | null | package no.nav.bidrag.vedtak
import no.nav.bidrag.commons.web.test.HttpHeaderTestRestTemplate
import no.nav.bidrag.vedtak.BidragVedtakLocal.Companion.TEST_PROFILE
import no.nav.bidrag.vedtak.hendelser.VedtakKafkaEventProducer
import no.nav.bidrag.vedtak.model.VedtakHendelse
import no.nav.security.token.support.test.je... | 0 | Kotlin | 0 | 1 | 6aeb9b13aa048166eecfec2350ded177d2d10597 | 1,572 | bidrag-vedtak | MIT License |
sdk-scrapper/src/main/kotlin/io/github/wulkanowy/sdk/scrapper/student/StudentGuardian.kt | wulkanowy | 138,756,468 | false | {"Kotlin": 705036, "HTML": 70768} | package io.github.wulkanowy.sdk.scrapper.student
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonNames
@Serializable
@OptIn(ExperimentalSerializationApi::class)
data class StudentGuardian(... | 11 | Kotlin | 5 | 8 | 340245d8ccc2790dcb75219c2839e8bdd8b448a4 | 1,149 | sdk | Apache License 2.0 |
src/main/kotlin/it/czerwinski/intellij/wavefront/lang/parser/MtlParserDefinition.kt | sczerwinski | 283,832,623 | false | null | /*
* Copyright 2020-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 ... | 27 | null | 1 | 9 | ca6ee47083cdca9b52cd2a59994d12a4a10033eb | 2,068 | wavefront-obj-intellij-plugin | Apache License 2.0 |
app/src/main/java/com/omen273/crossLingo/Timer.kt | omen273 | 300,259,349 | false | null | package com.omen273.crossLingo
import android.os.Handler
import android.os.Looper
class Timer(private val duration : Long, private val action1 : () -> Unit, private val action2 : () -> Unit,
val changeCondition : () -> Boolean) {
private val handler = Handler(Looper.getMainLooper())
private fun s... | 41 | Kotlin | 3 | 3 | 77ea80effb56ac90cacc2932dbd86fc5ac7baf28 | 1,338 | crosswordApp | MIT License |
app/src/main/java/at/guger/moneybook/ui/home/accounts/addeditaccount/AddEditAccountDialogFragmentViewModel.kt | guger | 198,668,519 | false | null | /*
* Copyright 2022 <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 ag... | 18 | null | 1 | 13 | cc374cf434aad9db5a3fc8f336aaf3e4eb91100d | 3,543 | MoneyBook | Apache License 2.0 |
src/main/kotlin/dec23/Input.kt | dladukedev | 318,188,745 | false | null | package dec23
val input = listOf(9,7,4,6,1,8,3,5,2) | 0 | Kotlin | 0 | 0 | d4591312ddd1586dec6acecd285ac311db176f45 | 52 | advent-of-code-2020 | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.