Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for readLines (0.11 sec)

  1. guava/src/com/google/common/io/Resources.java

       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public static <T extends @Nullable Object> T readLines(
          URL url, Charset charset, LineProcessor<T> callback) throws IOException {
        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. .github/workflows/CheckBadMerge.groovy

            }
        }
    
        static List<String> filesFromMerge(String commit) {
            getStdout("git diff --name-only $commit^1..$commit").readLines()
        }
    
        static List<String> branchesOf(String commit) {
            return getStdout("git branch -r --contains $commit")
                .readLines()
                .collect { it.replace("*", "") } // remove the * from the current branch, e.g. * master -> master
                .collect { it.trim() }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8));
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkTester.java

        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
        } catch (IOException e) {
          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @param elevateWord the elevate word
         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

    import java.util.List;
    
    /**
     * Interface for converting text into its reading form.
     */
    public interface ReadingConverter {
    
        /**
         * Returns the maximum number of readings.
         *
         * @return the maximum number of readings, default is 10.
         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
         * Initializes the converter.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. cmd/healthcheck-router.go

    	healthCheckClusterReadPath = "/cluster/read"
    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES);
                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
        /**
         * Add an elevate word.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

     */
    public interface ContentsParser {
        /**
         * Parses the given search words and creates a SuggestItem.
         *
         * @param words the array of search words
         * @param readings the array of readings corresponding to the search words
         * @param fields the array of fields associated with the search words
         * @param tags the array of tags associated with the search words
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top