Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 240 for inline (0.14 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertySetterSymbol.kt

        override val isDefault: Boolean
            get() = withValidityAssertion { false }
    
        override val isInline: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.INLINE_KEYWORD) || psi.property.hasModifier(KtTokens.INLINE_KEYWORD) }
    
        override val isOverride: Boolean
            get() = withValidityAssertion { psi.property.hasModifier(KtTokens.OVERRIDE_KEYWORD) }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        )
    
    
    private
    inline val Int.isStatic: Boolean
        get() = ACC_STATIC in this
    
    
    private
    inline val Int.isPublic: Boolean
        get() = ACC_PUBLIC in this
    
    
    private
    inline val Int.isAbstract: Boolean
        get() = ACC_ABSTRACT in this
    
    
    private
    inline val Int.isVarargs: Boolean
        get() = ACC_VARARGS in this
    
    
    private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

    package okhttp3.internal.concurrent
    
    import java.util.logging.Level
    import java.util.logging.Logger
    
    internal inline fun Logger.taskLog(
      task: Task,
      queue: TaskQueue,
      messageBlock: () -> String,
    ) {
      if (isLoggable(Level.FINE)) {
        log(task, queue, messageBlock())
      }
    }
    
    internal inline fun <T> Logger.logElapsed(
      task: Task,
      queue: TaskQueue,
      block: () -> T,
    ): T {
      var startNs = -1L
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

          assertThat(buffer.readUtf8()).isEqualTo("Hello")
        }
      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
        fn: (FileDescriptor) -> T,
      ): T {
        return assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
      }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

      companion object {
        /**
         * Constructs an interceptor for a lambda. This compact syntax is most useful for inline
         * interceptors.
         *
         * ```kotlin
         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt

                processor.invoke(symbol.fir)
                ProcessorAction.NEXT
            }
            else -> ProcessorAction.STOP
        }
    
        private inline fun <T : KtSymbol> processOverrides(
            callableSymbol: T,
            crossinline process: (FirTypeScope, FirDeclaration) -> Unit
        ) {
            if (callableSymbol !is KtCallableSymbol) {
                return
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 14:22:10 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertyGetterSymbol.kt

        override val isDefault: Boolean
            get() = withValidityAssertion { false }
    
        override val isInline: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.INLINE_KEYWORD) || psi.property.hasModifier(KtTokens.INLINE_KEYWORD) }
    
        override val isOverride: Boolean
            get() = withValidityAssertion { psi.property.hasModifier(KtTokens.OVERRIDE_KEYWORD) }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                }
            }
        }
    
        /**
         * N.B. This functions lifts only a single layer of SUBSTITUTION_OVERRIDE at a time.
         */
        private inline fun <reified T : FirCallableDeclaration> T.unwrapSubstitutionOverrideIfNeeded(): T? {
            unwrapUseSiteSubstitutionOverride()?.let { return it }
    
            unwrapInheritanceSubstitutionOverrideIfNeeded()?.let { return it }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionsCollector.kt

    import org.jetbrains.kotlin.psi.KtDeclarationWithBody
    import org.jetbrains.kotlin.references.fe10.util.DescriptorToSourceUtilsIde
    import org.jetbrains.kotlin.resolve.calls.model.ResolvedCall
    import org.jetbrains.kotlin.resolve.inline.InlineUtil
    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedSimpleFunctionDescriptor
    
    internal class InlineFunctionsCollector(
        private val project: Project,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
      // persistentVolumeName represents the name of the persistent volume to attach.
      // +optional
      optional string persistentVolumeName = 1;
    
      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top