Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for nines (0.02 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       *
       * {@snippet :
       * try (Stream<String> lines = source.lines()) {
       *   lines.map(...)
       *      .filter(...)
       *      .forEach(...);
       * }
       * }
       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      @MustBeClosed
      public Stream<String> lines() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should be limited to 10 items", lines.length <= 10);
            assertTrue("Last lines should be kept", output.contains("line15"));
        }
    
        public void test_run_maxBufferSizeConstant() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. 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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. android/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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            String result = scoreUpdater.execute();
    
            // Check format with class name, colon, count, and newline
            String[] lines = result.split("\n");
            assertEquals(2, lines.length);
            assertTrue(lines[0].matches("TestScoreBooster : \\d+"));
            assertTrue(lines[1].matches("TestScoreBooster : \\d+"));
        }
    
        // Test with null pointer exception
        public void test_execute_nullPointerException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            /** Buffered reader for input stream. */
            private BufferedReader br;
    
            /** List to store captured output lines. */
            private final List<String> list = new LinkedList<>();
    
            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    
            /**
             * Constructor for InputStreamThread.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
       *   o CLEAN lines track a cache entry that has been successfully published and may be read. A
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                // Verify content structure
                boolean hasThreadLine = lines.stream().anyMatch(line -> line.startsWith("Thread:"));
                boolean hasStackTraceLine = lines.stream().anyMatch(line -> line.startsWith("\tat "));
    
                assertTrue("Should contain thread information", hasThreadLine);
                assertTrue("Should contain stack trace information", hasStackTraceLine);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top