Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 77 for line_1 (0.7 seconds)

  1. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            assertTrue("Should have line4", thread.contains("line4"));
            assertTrue("Should have line5", thread.contains("line5"));
        }
    
        @Test
        public void test_emptyInputStream() throws IOException, InterruptedException {
            Process mockProcess = createMockProcess("");
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            InputStreamThread thread = jobProcess.getInputStreamThread();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. scripts/doc_parsing_utils.py

        Extract lines that contain code includes.
    
        Return list of CodeIncludeInfo, where each dict contains:
        - `line_no` - line number (1-based)
        - `line` - text of the line
        """
    
        includes: list[CodeIncludeInfo] = []
        for line_no, line in enumerate(lines, start=1):
            if CODE_INCLUDE_RE.match(line):
                includes.append(CodeIncludeInfo(line_no=line_no, line=line))
        return includes
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/stream-json-lines.md

    /// info | Información
    
    El punto importante es que tu app podrá producir cada línea a su turno, mientras el cliente consume las líneas anteriores.
    
    ///
    
    /// note | Detalles técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/stream-json-lines.md

    /// tip
    
    비디오나 오디오처럼 바이너리 데이터를 스트리밍하려면 고급 가이드를 확인하세요: [스트림 데이터](../advanced/stream-data.md).
    
    ///
    
    ## FastAPI로 JSON Lines 스트리밍 { #stream-json-lines-with-fastapi }
    
    FastAPI에서 JSON Lines를 스트리밍하려면, *경로 처리 함수*에서 `return`을 사용하는 대신 `yield`로 각 항목을 차례로 생성하면 됩니다.
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            // Test newline replacement in setNewOutput
            item.setNewOutput("line1\nline2\nline3");
            assertEquals("line1 line2 line3", item.getNewOutput());
        }
    
        @Test
        public void test_setNewOutput_withNull() {
            String[] inputs = { "input" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/stream-json-lines.md

    # Stream de JSON Lines { #stream-json-lines }
    
    Você pode ter uma sequência de dados que deseja enviar em um "**Stream**"; é possível fazer isso com **JSON Lines**.
    
    /// info | Informação
    
    Adicionado no FastAPI 0.134.0.
    
    ///
    
    ## O que é um Stream? { #what-is-a-stream }
    
    "**Streaming**" de dados significa que sua aplicação começará a enviar itens ao cliente sem esperar que toda a sequência esteja pronta.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/stream-json-lines.md

    # JSON Lines streamen { #stream-json-lines }
    
    Sie könnten eine Folge von Daten haben, die Sie in einem „Stream“ senden möchten, das können Sie mit **JSON Lines** tun.
    
    /// info | Info
    
    Hinzugefügt in FastAPI 0.134.0.
    
    ///
    
    ## Was ist ein Stream? { #what-is-a-stream }
    
    „Streaming“ von Daten bedeutet, dass Ihre App damit beginnt, Datenelemente an den Client zu senden, ohne darauf zu warten, dass die gesamte Folge von Elementen fertig ist.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/stream-json-lines.md

    # 串流 JSON Lines { #stream-json-lines }
    
    當你有一連串資料想以「**串流**」方式傳送時,可以使用 **JSON Lines**。
    
    /// info
    
    在 FastAPI 0.134.0 新增。
    
    ///
    
    ## 什麼是串流? { #what-is-a-stream }
    
    「**Streaming**」資料表示你的應用會在整個資料序列尚未完全準備好之前,就開始將資料項目傳送給用戶端。
    
    也就是說,它會先送出第一個項目,用戶端接收並開始處理時,你的應用可能仍在產生下一個項目。
    
    ```mermaid
    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/stream-json-lines.md

    # JSON Lines をストリームする { #stream-json-lines }
    
    データのシーケンスを**「ストリーム」**で送りたい場合、**JSON Lines** を使って実現できます。
    
    /// info | 情報
    
    FastAPI 0.134.0 で追加されました。
    
    ///
    
    ## ストリームとは { #what-is-a-stream }
    
    データを**ストリーミング**するとは、アイテムの全シーケンスが用意できるのを待たずに、アプリがデータアイテムの送信をクライアントに対して開始することを意味します。
    
    つまり、最初のアイテムを送信し、クライアントはそれを受け取って処理を始めます。その間に、次のアイテムをまだ生成しているかもしれません。
    
    ```mermaid
    sequenceDiagram
        participant App
        participant Client
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            assertEquals("return 1 + 2", activityHelper.normalizeScript("return 1 + 2"));
        }
    
        @Test
        public void test_normalizeScript_withControlCharacters() {
            assertEquals("line1 line2 line3", activityHelper.normalizeScript("line1\nline2\rline3"));
            assertEquals("tab1_tab2", activityHelper.normalizeScript("tab1\ttab2"));
            // \t -> _, \n -> space, \r -> space, \n -> space
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top