Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 222 for line15 (0.06 seconds)

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

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should be limited to 10 items", lines.length <= 10);
            assertTrue("Last lines should be kept", output.contains("line15"));
        }
    
        @Test
        public void test_run_maxBufferSizeConstant() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/update-notifier_test.go

    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    		case !strings.Contains(output, line2):
    			t.Errorf("Testcase %d: output '%s' did not contain line 2: '%s'", i+1, output, line2)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  6. scripts/doc_parsing_utils.py

    
    def extract_code_includes(lines: list[str]) -> list[CodeIncludeInfo]:
        """
        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):
    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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top