This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // CFRedBlackTreeState.swift | |
| // BTree | |
| // | |
| // Created by 박병관 on 3/5/25. | |
| // | |
| internal struct CFRedBlackTreeState<Key:Comparable> { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.esotericsoftware.spine.android; | |
| import android.graphics.Canvas | |
| import com.badlogic.gdx.utils.Array | |
| import com.esotericsoftware.spine.android.SkeletonRenderer.RenderCommand | |
| // this is the hack for accessing package-private while in ART & Kotlin | |
| // ART does not have module.info.java so we can safely access it at runtime | |
| // we can access java-package scope at compile time thanks to kotlin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| import os | |
| import sys | |
| from typing import AsyncGenerator | |
| from contextlib import closing | |
| async def console_input() -> AsyncGenerator[str, None]: | |
| loop = asyncio.get_event_loop() | |
| reader = asyncio.StreamReader(loop=loop) | |
| with os.fdopen(os.dup(sys.stdin.fileno()), mode='rt+') as file_ref: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| An event loop policy that integrates Windows message loop with IOCP-based async processing. | |
| """ | |
| # SPDX-License-Identifier: MIT | |
| __all__ = ( | |
| 'TkinterProactorEventLoopPolicy', | |
| 'TclIocpProactor', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct ArrayDeque<Element> { | |
| private var buffer: ContiguousArray<Element?> | |
| private var start: Int | |
| private var itemCount: Int | |
| private var capacity: Int { | |
| buffer.count | |
| } | |
| init() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.foundation.layout.PaddingValues | |
| import androidx.compose.runtime.* | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.layout.SubcomposeLayout | |
| import androidx.compose.ui.layout.SubcomposeLayoutState | |
| import androidx.compose.ui.layout.SubcomposeSlotReusePolicy | |
| import androidx.compose.ui.unit.* | |
| import java.time.LocalDate | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import kotlinx.coroutines.* | |
| import org.jetbrains.annotations.BlockingExecutor | |
| import java.util.concurrent.* | |
| import kotlin.coroutines.CoroutineContext | |
| import kotlin.time.ComparableTimeMark | |
| import kotlin.time.Duration.Companion.milliseconds | |
| import kotlin.time.TimeSource | |
| import kotlin.time.toJavaDuration | |
| @BlockingExecutor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.foundation.layout.RowScope | |
| import androidx.compose.runtime.* | |
| import androidx.compose.runtime.saveable.rememberSaveableStateHolder | |
| import androidx.lifecycle.ViewModel | |
| import androidx.lifecycle.viewmodel.compose.LocalViewModelStoreOwner | |
| import androidx.lifecycle.viewmodel.compose.viewModel | |
| import androidx.navigation.NavBackStackEntry | |
| import androidx.navigation.compose.LocalOwnersProvider | |
| @Composable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package androidx.fragment.app | |
| import android.content.Context | |
| import android.os.Bundle | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import androidx.activity.ComponentActivity | |
| import androidx.compose.runtime.Composable |
NewerOlder