Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 875 for line4 (0.13 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            List<String> failures = new ArrayList<>();
            for (File f : getFiles()) {
                List<String> lines;
                try (Stream<String> stream = Files.lines(f.toPath(), StandardCharsets.UTF_8)) {
                    lines = stream.collect(Collectors.toList());
                } catch (UncheckedIOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            assertTrue(body != null && body.length() > 0, "Response body should not be empty");
            // NDJSON format: each line is a JSON object
            String[] lines = body.trim().split("\n");
            assertTrue(lines.length > 0, "Should have at least one line in NDJSON response");
        }
    
        @Test
        public void testScrollSearch_withNum() {
            Map<String, String> params = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. cmd/object-api-options_test.go

    			wantObjectAttrs: map[string]struct{}{},
    		},
    		{
    			name: "single header line",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {},
    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                }
            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
                    String packageLine = lines.filter(line -> line.startsWith("package"))
                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/checkstyle.xml

        <!-- Non-inner classes must be in files that match their names. -->
        <module name="OuterTypeFilename" />
    
        <!-- No line wraps inside of import and package statements. -->
        <module name="NoLineWrap" />
    
        <!-- only one statement per line should be allowed -->
        <module name="OneStatementPerLine" />
    
        <!-- Each java file has only one outer class -->
        <module name="OneTopLevelClass" />
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ConcatFilesTask.java

    /**
     * Concatenates a list of files into one and removes duplicate lines.
     */
    public class ConcatFilesTask extends DefaultTask {
    
        public ConcatFilesTask() {
            setDescription("Concat a list of files into one.");
        }
    
        /** List of files to concatenate */
        private FileTree files;
    
        /** line to add at the top of the target file */
        private String headerLine;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  9. 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)
  10. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the first line, or null if the file is empty
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
Back to Top