Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 311 for val2 (0.14 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

            val elementToAnalyze = positionInFakeFile.containingNonLocalDeclaration() ?: originalFile
            val bindingContext = analysisContext.analyze(elementToAnalyze)
    
            val scopeKind = KtScopeKind.LocalScope(0) // TODO
            val lexicalScope = positionInFakeFile.getResolutionScope(bindingContext)
            if (lexicalScope != null) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        ) {
          val settings = response.settings
          stream.connection.setSettings(settings)
    
          if (response.socketPolicy === NoResponse) {
            return
          }
    
          val bodyDelayNanos = response.bodyDelayNanos
          val trailers = response.trailers
          val body = response.body
          val streamHandler = response.streamHandler
          val outFinished = (
            body == null &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt

    internal class KtFe10AnnotationsList private constructor(
        private val fe10Annotations: Annotations,
        private val annotationsToIgnore: Set<ClassId>,
        private val analysisContext: Fe10AnalysisContext
    ) : KtAnnotationsList() {
        override val token: KtLifetimeToken
            get() = analysisContext.token
    
        override val annotations: List<KtAnnotationApplicationWithArgumentsInfo>
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DynamicFunctionDescValueParameterSymbol.kt

        override val psi: PsiElement?
            get() = withValidityAssertion { null }
    
        override val annotationsList: KtAnnotationsList
            get() = withValidityAssertion { KtEmptyAnnotationsList(token) }
    
        override val name: Name
            get() = withValidityAssertion { Name.identifier("args") }
    
        override val hasDefaultValue: Boolean
            get() = withValidityAssertion { false }
    
        override val isVararg: Boolean
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build()
        val request = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request).execute()
        val source = response1.body.source()
        assertThat(source.readUtf8()).isEqualTo("ABC")
    
        // OpenJDK 6 fails on this line, complaining that the connection isn't open yet
        val cipherSuite = response1.handshake!!.cipherSuite
        val localCerts = response1.handshake!!.localCertificates
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  6. internal/grid/types.go

    func (j *Array[T]) Set(val []T) {
    	j.val = val
    }
    
    // Recycle the underlying value.
    func (j *Array[T]) Recycle() {
    	if j.val != nil {
    		j.p.putA(j.val)
    		j.val = nil
    	}
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (j *Array[T]) MarshalMsg(b []byte) (o []byte, err error) {
    	if j.val == nil {
    		return msgp.AppendNil(b), nil
    	}
    	if uint64(len(j.val)) > math.MaxUint32 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiLocalVariableSymbol.kt

    import org.jetbrains.kotlin.resolve.BindingContext
    
    internal class KtFe10PsiLocalVariableSymbol(
        override val psi: KtVariableDeclaration,
        override val analysisContext: Fe10AnalysisContext
    ) : KtLocalVariableSymbol(), KtFe10PsiSymbol<KtVariableDeclaration, VariableDescriptor> {
        override val descriptor: VariableDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/KtFe10PackageSymbol.kt

    import org.jetbrains.kotlin.name.FqName
    
    internal class KtFe10PackageSymbol(
        private val packageName: FqName,
        override val analysisContext: Fe10AnalysisContext
    ) : KtPackageSymbol(), KtFe10Symbol {
        override val fqName: FqName
            get() = withValidityAssertion { packageName }
    
        override val psi: PsiElement? by cached {
            val project = analysisContext.resolveSession.project
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertyGetterSymbol.kt

    internal class KtFe10PsiPropertyGetterSymbol(
        override val psi: KtPropertyAccessor,
        override val analysisContext: Fe10AnalysisContext
    ) : KtPropertyGetterSymbol(), KtFe10PsiSymbol<KtPropertyAccessor, PropertyGetterDescriptor> {
        override val descriptor: PropertyGetterDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        }
    
        private fun ConeKotlinType.toTargetSymbol(session: FirSession, symbolBuilder: KtSymbolByFirBuilder): KtSymbol? {
            val type = this as? ConeLookupTagBasedType
            val resolvedSymbol = type?.lookupTag?.toSymbol(session) as? FirBasedSymbol<*>
    
            val symbol = resolvedSymbol ?: run {
                val diagnostic = (this as? ConeErrorType)?.diagnostic
                (diagnostic as? ConeUnmatchedTypeArgumentsError)?.symbol
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
Back to top