Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 224 for line_1 (0.06 seconds)

  1. scripts/docs.py

    """
    
    
    def remove_header_permalinks(content: str):
        lines: list[str] = []
        for line in content.split("\n"):
            match = header_with_permalink_pattern.match(line)
            if match:
                hashes, title, *_ = match.groups()
                line = f"{hashes} {title}"
            lines.append(line)
        return "\n".join(lines)
    
    
    def generate_readme_content() -> str:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/LineProcessor.java

     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
       *
       * @param line the line read from the input, without delimiter
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/server-sent-events.md

    # 服务器发送事件(SSE) { #server-sent-events-sse }
    
    你可以使用**服务器发送事件**(SSE)向客户端流式发送数据。
    
    这类似于[流式传输 JSON Lines](stream-json-lines.md),但使用 `text/event-stream` 格式,浏览器原生通过 [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) 支持。
    
    /// info | 信息
    
    新增于 FastAPI 0.135.0。
    
    ///
    
    ## 什么是服务器发送事件? { #what-are-server-sent-events }
    
    SSE 是一种通过 HTTP 从服务器向客户端流式传输数据的标准。
    
    每个事件是一个带有 `data`、`event`、`id` 和 `retry` 等“字段”的小文本块,以空行分隔。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/mvnenc.cmd

    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    @REM -----------------------------------------------------------------------------
    
    @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
    @echo off
    @REM set title of command window
    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
    
    @setlocal
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 18 11:01:21 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/stream-data.md

    # Transmitir dados { #stream-data }
    
    Se você quer transmitir dados que podem ser estruturados como JSON, você deveria [Transmitir JSON Lines](../tutorial/stream-json-lines.md).
    
    Mas se você quer transmitir dados binários puros ou strings, veja como fazer.
    
    /// info | Informação
    
    Adicionado no FastAPI 0.134.0.
    
    ///
    
    ## Casos de uso { #use-cases }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

            commandWithRetry.append(indent).append(exitKeyword).append(" $exit_code");
    
            // We need to escape all newlines so that the build process doesn't run all lines onto a single line
            return commandWithRetry.toString().replaceAll(" *\n", " \\\\\n");
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/custom-response.md

    Si estás transmitiendo JSON Lines, sigue el tutorial [Stream JSON Lines](../tutorial/stream-json-lines.md).
    
    ///
    
    ### `FileResponse` { #fileresponse }
    
    Transmite un archivo asincrónicamente como response.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
            throw IOException("Failed ${it.code} ${it.message}")
          }
          it.body
            .string()
            .lines()
            .mapNotNull { parseIanaCsvRow(it) }
        }
    
      return IanaSuites("current", suites)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

            ianaSuites.fromJavaName(it.javaName)
          },
      )
    
    fun historicOkHttp(version: String): Client {
      val enabled =
        FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) {
          this.readUtf8().lines().filter { it.isNotBlank() }.map {
            SuiteId(id = null, name = it.trim())
          }
        }
      return Client(
        userAgent = "OkHttp",
        version = version,
        enabled = enabled,
      )
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top