Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 748 for line2 (0.02 seconds)

  1. 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)
  2. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
            assertEquals("Last line", "Line number 4999", receivedLines.get(4999));
        }
    
        @Test
        public void test_run_concurrentAccess() throws InterruptedException {
            String input = "concurrent1\nconcurrent2\nconcurrent3";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. src/bufio/bufio_test.go

    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    	outbuf := new(strings.Builder)
    	maxLineLength := len(line1) + len(restData)/2
    	l := NewReaderSize(inbuf, maxLineLength)
    	line, isPrefix, err := l.ReadLine()
    	if isPrefix || err != nil || string(line) != line1 {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  6. doc/go_spec.html

    type Point3D struct { Object; x, y, z float64 }
    type Line    struct { Object; p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                                       // zero value for Point3D
    line1 := Line{Object{}, origin, Point3D{y: -4, z: 12.3}}  // zero value for line1.q.x
    line2 := Line{name: "diagonal", q: Point3D{1, 1, 1}}      // zero value for line2.Object.color, line2.p
    </pre>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  7. 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)
  8. 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)
  9. docs/en/docs/tutorial/stream-json-lines.md

    /// info
    
    The important point is that your app will be able to produce each line in turn, while the client consumes the previous lines.
    
    ///
    
    /// note | Technical Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. 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)
Back to Top