Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for iterare (0.18 sec)

  1. docs/en/docs/advanced/custom-response.md

    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function.
    
        So, it is a generator function that transfers the "generating" work to something else internally.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        return STORY_JSON_ADAPTER.fromJson(source)!!
      }
    
      private fun readStory(file: Path): Story {
        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    val commonEmptyRequestBody: RequestBody = EMPTY_BYTE_ARRAY.toRequestBody()
    val commonEmptyResponse: ResponseBody = EMPTY_BYTE_ARRAY.toResponseBody()
    
    internal fun <T> interleave(
      a: Iterable<T>,
      b: Iterable<T>,
    ): List<T> {
      val ia = a.iterator()
      val ib = b.iterator()
    
      return buildList {
        while (ia.hasNext() || ib.hasNext()) {
          if (ia.hasNext()) {
            add(ia.next())
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
     *     lookups) and attempt a new connection them. When failures occur, retries iterate the list of
     *     available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/StagePasses.kt

    fun stageTriggerUuid(model: CIBuildModel, stageName: StageName) = "${DslContext.uuidPrefix}_${model.projectId}_Stage_${stageName.uuid}_Trigger"
    
    fun <T : BaseGradleBuildType> Dependencies.snapshotDependencies(buildTypes: Iterable<T>, snapshotConfig: SnapshotDependency.(T) -> Unit = {}) {
        buildTypes.forEach { buildType ->
            dependency(buildType.id!!) {
                snapshot {
                    if (!buildType.failStage) {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            return resolvedArgumentMapping?.entries.createArgumentMapping(signatureOfCallee)
        }
    
        private fun Iterable<MutableMap.MutableEntry<FirExpression, FirValueParameter>>?.createArgumentMapping(
            signatureOfCallee: KtFunctionLikeSignature<*>
        ): LinkedHashMap<KtExpression, KtVariableLikeSignature<KtValueParameterSymbol>> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  7. docs/pt/docs/tutorial/path-params.md

    	Observe que o erro também mostra claramente o ponto exato onde a validação não passou.
    
    	Isso é incrivelmente útil enquanto se desenvolve e debuga o código que interage com a sua API.
    
    ## Documentação
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. RELEASE.md

            resource reads to occur in parallel and synchronizing only on writes.
        *   Fix execution order of multiple stateful calls to `experimental_run_v2`
            in `tf.function`.
        *   You can now iterate over `RaggedTensors` using a for loop inside
            `tf.function`.
    *   `tf.lite`:
        *   Migrated the `tf.lite` C inference API out of experimental into lite/c.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

        val studioInstallationProvider = providers.provider {
            if (autoDownloadAndroidStudio) {
                studioInstallation
            } else {
                null
            }
        }
    
        override fun asArguments(): Iterable<String> {
            val systemProperties = mutableListOf<String>()
    
            systemProperties.add(getStudioHome())
    
            if (runAndroidStudioInHeadlessMode) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

            }
        }
    
        private
        fun FileSystemLocation.toGradleModuleName(): String = asFile.name.run { substring(0, lastIndexOf('-')) }
    
        private
        fun Iterable<String>.joinForProperties() = sorted().joinToString(",")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top