Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for sequence (0.2 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

            crossinline nameFilter: KtScopeNameFilter,
            crossinline getDeclarationsByProvider: (LLFirResolveExtensionToolDeclarationProvider) -> Sequence<D>,
        ): Sequence<S> = sequence {
            for (tool in tools) {
                for (declaration in getDeclarationsByProvider(tool.declarationProvider)) {
                    val declarationName = declaration.nameAsName ?: continue
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
     *
     * When b2 and b3 are unused, their values are set to 0x2d ('-').
     *
     * Section Index (1,240 bytes)
     * ===========================
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        serverSocket?.closeQuietly()
      }
    
      override fun toString(): String = "MockHttp2Peer[$port]"
    
      private class OutFrame(
        val sequence: Int,
        val start: Long,
        val truncated: Boolean,
      )
    
      class InFrame(val sequence: Int, val reader: Http2Reader) : Http2Reader.Handler {
        @JvmField var type = -1
        var clearPrevious = false
    
        @JvmField var outFinished = false
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                else -> error("Unexpected ${this::class}")
            }
    
        /**
         * Note: The resulting sequence does not contain non-qualified types!
         *
         * For type `A.B.C.D` it will return sequence of [`A.B.C.D`, `A.B.C`, `A.B`] (**without** `A`).
         */
        private val KtUserType.qualifiedTypesWithSelf: Sequence<KtUserType>
            get() {
                require(qualifier != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  5. src/README.vendor

    set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.
    
    Requirements may be added, updated, and removed with 'go get'.
    The vendor directory may be updated with 'go mod vendor'.
    A typical sequence might be:
    
        cd src  # or src/cmd
        go get golang.org/x/net@master
        go mod tidy
        go mod vendor
    
    Use caution when passing '-u' to 'go get'. The '-u' flag updates
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            }
        }
    
        private fun generateNameInterpretations(fqName: FqName): Sequence<FqNameInterpretation> = sequence {
            val parts = fqName.pathSegments()
            if (parts.isEmpty()) {
                yield(FqNameInterpretation.create(packageParts = emptyList(), classParts = emptyList(), callable = null))
                return@sequence
            }
            for (lastPackagePartIndexExclusive in 0..parts.size) {
                yield(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                is ConeErrorType -> emptySequence()
                is ConeLookupTagBasedType -> getSubstitutedSuperTypes(shouldApproximate)
                else -> emptySequence()
            }.distinct()
        }
    
        private fun ConeLookupTagBasedType.getSubstitutedSuperTypes(shouldApproximate: Boolean): Sequence<ConeKotlinType> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        proxySelector.proxies.add(proxyB)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
        // First try the IP addresses of the first proxy, in sequence.
        assertThat(routeSelector.hasNext()).isTrue()
        dns[PROXY_A_HOST] = dns.allocate(2)
        val selection1 = routeSelector.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        }
      }
    
      /**
       * Artificially stall until manually resumed by the test thread with [runTasks]. Use this to
       * simulate races in tasks that doesn't have a deterministic sequence.
       */
      fun yield() {
        taskRunner.assertThreadDoesntHoldLock()
        taskRunner.lock.withLock {
          yieldUntil()
        }
      }
    
      /** Process the queue until [condition] returns true. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okio.Sink
    import okio.Timeout
    import okio.buffer
    import okio.sink
    import okio.source
    
    /**
     * A scriptable web server. Callers supply canned responses and the server replays them upon request
     * in sequence.
     */
    @ExperimentalOkHttpApi
    class MockWebServer : Closeable {
      private val taskRunnerBackend =
        TaskRunner.RealBackend(
          threadFactory("MockWebServer TaskRunner", daemon = false),
        )
    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)
Back to top