Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Hines (0.18 sec)

  1. guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

          return lines.hasNext() ? lines.next() : null;
        }
    
        @Override
        public ImmutableList<String> readLines() {
          return ImmutableList.copyOf(linesIterator());
        }
    
        @Override
        @ParametricNullness
        public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
          Iterator<String> lines = linesIterator();
          while (lines.hasNext()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        it.hasNext(); ) {
                    URL url = it.next();
                    List<String> lines;
                    try (InputStream is = url.openStream();
                            BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {
                        lines = reader.lines()
                                .map(String::trim)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
                    }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

        public void artifactDescriptorInvalid(RepositoryEvent event) {
            // The exception stack trace is not really interesting here
            // but the message itself may be quite details and span multiple
            // lines with errors in it, so only display it at debug level.
            String msg = "The POM for {} is invalid, transitive dependencies (if any) will not be available: {}";
            if (logger.isDebugEnabled()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

        if (r instanceof Reader) {
          copyReaderToBuilder((Reader) r, sb);
        } else {
          copy(r, sb);
        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        private static char[] nines() {
          char[] nines = new char[ZEROES.length()];
          for (int i = 0; i < ZEROES.length(); i++) {
            nines[i] = (char) (ZEROES.charAt(i) + 9);
          }
          return nines;
        }
    
        static final CharMatcher INSTANCE = new Digit();
    
        private Digit() {
          super("CharMatcher.digit()", zeroes(), nines());
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the {@link LineProcessor} to use to handle the lines
       * @return the output of processing the lines
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                        action.accept(pid, line);
                    }
                }
            });
        }
    
        private static List<String> ps() {
            return run(determinePsCommand()).assertZeroExit().stdout.lines().collect(Collectors.toList());
        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"wmic", "process", "get", "processid,commandline"};
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top