Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,501 for line (0.02 seconds)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test reload with invalid format
        @Test
        public void test_reload_invalidFormat() throws Exception {
            writeTestFile("a,b => c\ninvalid_line\nd,e => f\n");
    
            // Should skip invalid line
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
            assertEquals(2, result.size());
        }
    
        // Test reload with missing arrow
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            textBuf.append(text);
        }
    
        /**
         * Parses and filters URL patterns from text based on protocol types.
         * Processes each line of the input text, filtering URLs based on web and file protocol support.
         *
         * @param text the raw text containing URL patterns, one per line
         * @param web true if web protocol URLs should be included
         * @param file true if file protocol URLs should be included
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        // also test available
        lin.mark(2);
        assertEquals(2, lin.available());
        lin.skip(1);
        assertEquals(1, lin.available());
    
        lin.reset();
        assertEquals(2, lin.available());
        lin.skip(3);
        assertEquals(0, lin.available());
      }
    
      public void testLimit_markNotSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  4. lib/wasm/wasm_exec.js

    				offset += 8;
    			});
    
    			// The linker guarantees global data starts from at least wasmMinDataAddr.
    			// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
    			const wasmMinDataAddr = 4096 + 8192;
    			if (offset >= wasmMinDataAddr) {
    				throw new Error("total length of command line and environment variables exceeds limit");
    			}
    
    			this._inst.exports.run(argc, argv);
    			if (this.exited) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            }
            final String[] values = value.split("[\r\n]");
            final List<String> list = new ArrayList<>(values.length);
            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
                }
            }
            return list.toArray(new String[list.size()]);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

                    .append(Os.OS_FAMILY)
                    .append('\"');
            // Add process information using modern Java API
            if (commandLine != null) {
                version.append(ls).append("Command line: ").append(commandLine);
            }
            if (terminal != null) {
                version.append(ls).append("Terminal: ").append(terminal);
            }
            return version.toString();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. cmd/server_test.go

    	1234567890,1234567890,1234567890,1234567890,1234567890,123"`
    	// Create 10MiB content where each line contains 1024 characters.
    	for i := range 10 * 1024 {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    	putContent := buffer.String()
    
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-object"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  8. benchmarks/README.md

    because we have no control over the JVM running the benchmarks.
    
    If you want to run a specific benchmark class like, say,
    `MemoryStatsBenchmark`, you can use `--args`:
    
    ```
    gradlew -p benchmarks run --args 'MemoryStatsBenchmark'
    ```
    
    Everything in the `'` gets sent on the command line to JMH.
    
    You can set benchmark parameters with `-p`:
    ```
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        @Test
        public void test_execute_longScript() {
            // Test with long script
            StringBuilder longScript = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longScript.append("line ").append(i).append("\n");
            }
            Object result = jobExecutor.execute("test", longScript.toString());
            assertEquals("Executed: test " + longScript.toString(), result);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"argumented macro invoked without arguments",
    		lines(
    			"#define X() foo ",
    			"X()",
    			"X",
    		),
    		"foo.\n.X.\n",
    	},
    	{
    		"multiline macro without arguments",
    		lines(
    			"#define A 1\\",
    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Click Count (0)
Back to Top